Opened 11 years ago

Closed 11 years ago

#8014 closed defect (duplicate)

Error when series contains only zeroes

Reported by: haavikko Owned by: Eugene Lazutkin
Priority: high Milestone: tbd
Component: Charting Version: 1.2.0
Keywords: Cc: haavikko@…
Blocked By: Blocking:

Description

The error occurs at least with graph type "column".

Error can be reproduced by modifying testcase test_chart2d.html (see attached file). The relevant part is the following:

chart20.addSeries("Series A", [0,0,0,0,0], {stroke: {color: "red"}, fill: "lightpink"}); chart20.addSeries("Series B", [0,0,0,0,0], {stroke: {color: "blue"}, fill: "lightblue"});

On IE7, I get error: 'major' is null or not an object

On FF3, I get error: ticks is null

Attachments (1)

test_chart2d.html (21.0 KB) - added by haavikko 11 years ago.
modified testcase test_chart2d.html

Download all attachments as: .zip

Change History (2)

Changed 11 years ago by haavikko

Attachment: test_chart2d.html added

modified testcase test_chart2d.html

comment:1 Changed 11 years ago by Eugene Lazutkin

Resolution: duplicate
Status: newclosed

Dup of #7722, fixed in trunk.

Note: See TracTickets for help on using tickets.