Search found 2 matches

by Ernesto
Mon Jan 22, 2018 4:30 pm
Forum: JavaScript / HTML5
Topic: Chart boundaries in canvas
Replies: 1
Views: 14221

Re: Chart boundaries in canvas

I have worked this issue arround by setting axes labels off. (See code from demo) ... setLabels(chart, false); function setLabels(chart, value) { chart.axes.left.labels.visible = value; chart.axes.top.labels.visible = value; chart.axes.right.labels.visible = value; chart.axes.bottom.labels.visible =...
by Ernesto
Fri Jan 19, 2018 8:37 pm
Forum: JavaScript / HTML5
Topic: Chart boundaries in canvas
Replies: 1
Views: 14221

Chart boundaries in canvas

I'm trying to have the content of the chart or chart area fill the panel. I have attached an image and code to in this topic. function drawDailyPanel(canvas) { var chart; chart = new Tee.Chart(canvas); chart.addSeries(new Tee.Line()).addRandom(10); chart.series.items[0].smooth = 1 / 2; chart.title.v...