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
125
How to control line appearances in a Composite Chart
posted

Hello,

 I have a Composite Chart with a few layers, all set to LineChart types. I figured out how to control the colour of said lines in each layer. Now, I want to control how each line appears. Is there a way to do this? I am using the .Net 1.1-compatible version of the control suite (NetAdvantage for ASP.NET 2007 Vol. 1 [.NET 1.x])

 Thanks for any advice,

 Srdjan

Parents
No Data
Reply
  • 26458
    Offline posted

    You can modify the appearance of each layer by creating an instance of an appropriate appearance class. For example:

    LineChartAppearance appearance = new LineChartAppearance();
    appearance.DrawStyle =
    LineDrawStyle.Dot;
    appearance.MidPointAnchors =
    false;
    appearance.Thickness = 5;
    myLineLayer.ChartTypeAppearance = appearance;

Children