Opened 5 years ago

Last modified 4 years ago

#19034 new defect

Weird behaviour when for pie charts and highlighting.

Reported by: magnus Owned by: dylan
Priority: undecided Milestone: 1.13.1
Component: Dojox Version: 1.9.6
Keywords: Cc:
Blocked By: Blocking:


Hi, I'm using dojo 1.9.6

When setting up a piechart I accidentally had strings for my values in the series I added. Like this:

addSeries("Series A", [
        {y: "1", text: "Red",   stroke: "black", tooltip: "Red is 50%"},
        {y: "1", text: "Green", stroke: "black", tooltip: "Green is 25%"},
        {y: "1", text: "Blue",  stroke: "black", tooltip: "I am feeling Blue!"},
        {y: "1", text: "Other", stroke: "black", tooltip: "Mighty <strong>strong</strong><br>With two lines!"}

The Pie chart is rendered correctly but it seems the highlight doesn't work properly without giving any warnings. To reproduce: use sample code from here: change so that the y values are strings. When highlighting it looks different from when the values are integers..

Regards, Magnus

Change History (2)

comment:1 Changed 4 years ago by dylan

Milestone: tbd1.13

comment:2 Changed 4 years ago by dylan

Note: See TracTickets for help on using tickets.