scottvv Posted June 18, 2007 Report Share Posted June 18, 2007 I have a chart control on a web page. The user can select what data to chart. In every case, there is only one series in the chart. The first time around, everything is as expected. However, when user selects a different set of data to chart, the chart comes up with the legend box showing two items, each with the same name of series1, but a different color. If the user selects a yet a different set of data to chart, now there are 3 items in the legend box, and so on. I have tried chart.data.clear() which does not help. It seems that somehow the chart is not getting cleared each time a new chart is made. Any help? Link to comment Share on other sites More sharing options...
Frank Posted June 19, 2007 Report Share Posted June 19, 2007 How are you setting the data? Are you using databinding or passing the data manually through the API? Please post the code that you are using to put the data into the chart. ChartFXExceptionSample.zip Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.