Legend Symbol not refreshed
Hi,
V4.4.0.51 & VS2003
In my attached sample, I use this code to display series symbol on legend:
this.chartControl1.Legend.ShowSymbol=true;
That works well. The problem is:
When you double click the diamond symbol on the legend to display 'Chart Series Style' window, in 'Symbol' tab, change the series symbol from 'diamond' to 'tringle'. You can see the chart series has been changed with 'triangle' symbol, but the symbol on legend is still 'diamond'. It does not redraw to triangle.
How to fix that?
Lan
LineChart9.zip
V4.4.0.51 & VS2003
In my attached sample, I use this code to display series symbol on legend:
this.chartControl1.Legend.ShowSymbol=true;
That works well. The problem is:
When you double click the diamond symbol on the legend to display 'Chart Series Style' window, in 'Symbol' tab, change the series symbol from 'diamond' to 'tringle'. You can see the chart series has been changed with 'triangle' symbol, but the symbol on legend is still 'diamond'. It does not redraw to triangle.
How to fix that?
Lan
LineChart9.zip
SIGN IN To post a reply.
3 Replies
AD
Administrator
Syncfusion Team
March 13, 2007 05:31 PM UTC
Hi Lan,
Thanks for bringing this issue into our notice. We could reproduce the issue as you mentioned. The issue could be solved by setting the symbol shape to ChartSeries after adding the ChartSeries to the ChartControl. Here is the code snippet.
[ C# ]
this.chartControl1.Series.Add(s1);
this.chartControl1.Series.Add(s2);
s1.Style.Symbol.Shape = ChartSymbolShape.Diamond;
s2.Style.Symbol.Shape = ChartSymbolShape.Star;
Also kindly take a look at the attached sample and let me know if it helps you.
http://www.syncfusion.com/Support/user/uploads/LineChart_6d0b9ee7.zip
Regards,
Rajesh.
Thanks for bringing this issue into our notice. We could reproduce the issue as you mentioned. The issue could be solved by setting the symbol shape to ChartSeries after adding the ChartSeries to the ChartControl. Here is the code snippet.
[ C# ]
this.chartControl1.Series.Add(s1);
this.chartControl1.Series.Add(s2);
s1.Style.Symbol.Shape = ChartSymbolShape.Diamond;
s2.Style.Symbol.Shape = ChartSymbolShape.Star;
Also kindly take a look at the attached sample and let me know if it helps you.
http://www.syncfusion.com/Support/user/uploads/LineChart_6d0b9ee7.zip
Regards,
Rajesh.
AD
Administrator
Syncfusion Team
March 14, 2007 12:47 PM UTC
Hi Rajesh,
Thanks for help.
I've looked your sample. It did not solve the problem. The symbol on legend remains no change when you change the series symbol by "Chart Series Style" window's "Symbol" tab. Please confirm that.
I guess you may have different version and patches installed on your computer.
My one is V4.4.0.51 and had three issues fixes patches installed:
1. syncfusionessentialdiagram_Linestylefix_spsetup.exe
this is for issue:
http://www.syncfusion.com/support/directtrac/user/details.aspx?id=31729
2. syncfusionessentialstudiospsetup_4.4.0.51_Chartfixes_f27.exe
3. syncfusionessentialstudiospsetup_ChartFixes_M1307.exe
These two is for issue:
https://www.syncfusion.com/Support/DirectTrac/user/details.aspx?id=31732
Thanks,
Lan
Thanks for help.
I've looked your sample. It did not solve the problem. The symbol on legend remains no change when you change the series symbol by "Chart Series Style" window's "Symbol" tab. Please confirm that.
I guess you may have different version and patches installed on your computer.
My one is V4.4.0.51 and had three issues fixes patches installed:
1. syncfusionessentialdiagram_Linestylefix_spsetup.exe
this is for issue:
http://www.syncfusion.com/support/directtrac/user/details.aspx?id=31729
2. syncfusionessentialstudiospsetup_4.4.0.51_Chartfixes_f27.exe
3. syncfusionessentialstudiospsetup_ChartFixes_M1307.exe
These two is for issue:
https://www.syncfusion.com/Support/DirectTrac/user/details.aspx?id=31732
Thanks,
Lan
AD
Administrator
Syncfusion Team
March 14, 2007 11:53 PM UTC
Hi Lan,
Thanks for the update.
I am able to reproduce this issue in the patch (syncfusionessentialstudiospsetup_ChartFixes_M1307.exe), we will provide you with the timeframe for the fix of this issue by next week.
Regards,
Rajesh
Thanks for the update.
I am able to reproduce this issue in the patch (syncfusionessentialstudiospsetup_ChartFixes_M1307.exe), we will provide you with the timeframe for the fix of this issue by next week.
Regards,
Rajesh
SIGN IN To post a reply.
- 3 Replies
- 1 Participant
-
AD Administrator
- Mar 9, 2007 02:50 PM UTC
- Mar 14, 2007 11:53 PM UTC