This is a migrated thread and some comments may be shown as answers.

Line styles per series

1 Answer 36 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Craig
Top achievements
Rank 1
Craig asked on 18 Jun 2008, 04:00 PM
Is it possible to set line styles (in my case line-width) on a per-series basis?

Thanks,
-Craig

1 Answer, 1 is accepted

Sort by
0
Ves
Telerik team
answered on 19 Jun 2008, 08:08 AM
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
Tags
Chart (Obsolete)
Asked by
Craig
Top achievements
Rank 1
Answers by
Ves
Telerik team
Share this question
or