Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
410
One More Try: Customizing Legend Appearance of LineChart Series
posted

How do I customize the appearance of line Series in my Legend? I have successfully customize the NumericTimeSeries (represented by a line) in the attached LineChart, but am having a hard time figuring out the LegendAppearance. Thanks in advance for any assistance. 

 

grndElSeries = numTimeSeriesDict["grndElSeries"];

grndElSeries.Label = "Ground Elev. (ft)";

grndElSeries.PEs.Add(new PaintElement(Color.DarkKhaki));

 

LineAppearance grndElLineApp = new LineAppearance();

grndElLineApp.Thickness = 10;

grndElLineApp.LineStyle.DrawStyle = LineDrawStyle.Solid;

 

chartGwData.LineChart.ChartComponent.Series.Add(grndElSeries);

chartGwData.LineChart.LineAppearance.Add(grndElLineApp);

 

But when I do this i get a thick line on the chart but a thin line in the Legend. How do I get the legend line customized?? Thanks VERY much.

Parents
No Data
Reply Children
No Data