Opened 21 months ago

Last modified 18 months 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:

Description

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: https://dojotoolkit.org/reference-guide/1.9/dojox/charting.html#pie-chart 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 20 months ago by dylan

Milestone: tbd1.13

comment:2 Changed 18 months ago by dylan

Milestone: 1.131.13.1
Note: See TracTickets for help on using tickets.