I have a dojox chart where the legend created for the chart never
has the correct color for markers. The legend color for the marker
should match what’s on the chart. It’s always seems to use a default
color to represent the marker in the legend. Any ideas?? Possible bug??
BTW: I’m using Dojo 1.3.0
Thx!!
John
Are you by any chance creating the legend before populating a chart? Or do you make other changes to the chart? If you want to reflect any changes in the legend widget, you should call
refresh()method on it.In order to eliminate the guess work it would be better to post a minimal example, or point to an existing test/demo.