Line styles per series

Thread is closed for posting
2 posts, 0 answers
  1. Craig
    Craig avatar
    1 posts
    Member since:
    Jun 2008

    Posted 18 Jun 2008 Link to this post

    Is it possible to set line styles (in my case line-width) on a per-series basis?

    Thanks,
    -Craig
  2. Ves
    Admin
    Ves avatar
    2926 posts

    Posted 19 Jun 2008 Link to this post

    Hello Craig,

    Each chart series has its own appearance settings, so you have complete control over it. Here is an example:

    <telerik:RadChart ID="RadChart1" runat='server'
                    <Series> 
                        <telerik:ChartSeries Name="Series 1" Type="Line"
                            <Appearance> 
                                <LineSeriesAppearance Width="6"></LineSeriesAppearance> 
                            </Appearance> 
                        </telerik:ChartSeries> 
                        <telerik:ChartSeries Name="Series 2" Type="Line"
                            <Appearance> 
                                <LineSeriesAppearance Width="4"></LineSeriesAppearance> 
                            </Appearance> 
                        </telerik:ChartSeries> 
                    </Series> 
                </telerik:RadChart> 

    Hope this helps.

    Regards,
    Ves
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top