User (Legacy) Posted January 30, 2006 Report Share Posted January 30, 2006 Hi, I'm adding series to the chart dynamically. The problem is that when i add a series, the legend box is not updated. Doesn't the legend box should be updated automatically ? If not, please tell me how to do it by code. Thank you very much. Link to comment Share on other sites More sharing options...
Software FX Posted January 30, 2006 Report Share Posted January 30, 2006 How are you adding the series ? The following code adds a Series and Updates the Legend Box: chart1.Data.Series++; for (int i = 0; i < chart1.Data.Points; i++) chart1.Data[chart1.Data.Series - 1,i] = i * 10; chart1.Series[chart1.Data.Series - 1].Text = "New Series"; -- Francisco Padron www.chartfx.com Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.