Basic Line Chart
SRC :: FAKE()
|
|
SRC :: SCRIPT()
SCRIPT("js", {
for( x = 0; x < 360; x+=3.6) {
$.yield(x, Math.sin(x/180*Math.PI));
}
})
CHART(
chartOption({
xAxis: {
type: "category",
data: column(0)
},
yAxis: {},
series: [
{
type: "line",
data: column(1)
}
]
})
)
SRC :: SQL()
Prepare data
|
|
SQL() to CHART()
|
|
Last updated on