diff options
Diffstat (limited to 'examples/setting-options.html')
-rw-r--r-- | examples/setting-options.html | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/examples/setting-options.html b/examples/setting-options.html index b0570b2..6eb6ee9 100644 --- a/examples/setting-options.html +++ b/examples/setting-options.html @@ -42,8 +42,10 @@ $(function () { { label: "cos(x)", data: d2}, { label: "tan(x)", data: d3} ], { - lines: { show: true }, - points: { show: true }, + series: { + lines: { show: true }, + points: { show: true } + }, xaxis: { ticks: [0, [Math.PI/2, "\u03c0/2"], [Math.PI, "\u03c0"], [Math.PI * 3/2, "3\u03c0/2"], [Math.PI * 2, "2\u03c0"]] }, |