【发布时间】:2017-06-23 12:44:12
【问题描述】:
我想在 spark-highcharts 中为系列动态添加点,精确地使用 Zeppelin。
我正在使用:
https://github.com/knockdata/spark-highcharts
有人知道创建图表后如何处理它吗?
例子:
import com.knockdata.spark.highcharts._
import com.knockdata.spark.highcharts.model._
var myChart = highcharts(
bank
.seriesCol("cluster")
.series("x" -> "x", "y" -> "y"))
.subtitle(Subtitle("Example"))
.title(new Title("EXAMPLE"))
.xAxis(XAxis("X"))
.yAxis(YAxis("Y"))
.chart(Chart.scatter)
myChart.plot()
【问题讨论】:
-
你喜欢实现什么功能?您能否详细说明您问题中的实际用例?
-
我想做类似的事情:myChart.addPoint(2,3,'#FF0000')
-
感谢您的关注。
标签: apache-spark plot highcharts spark-dataframe apache-zeppelin