Hi there,
I am using a Spline chart with a theme applied. If a control in the page causes a postback, the lines in my chart change color, resulting in some lines getting almost invisible.
I have created a small demo project demonstrating the problem: http://imar.spaanjaars.com/Downloads/Other/TelerikChartIssue.zip
If you open Default.aspx in the browser, there's a green and a red line. If you choose an item from the DropDownList, the page posts back and the chart changes color.
What do I need to do to fix this?
Also, what do I need to do to change the color of the lines? I changed about a million Appearance properties, but to no avail. Do I / can I change the skin somehow?
Kind regards,
Imar
I am using a Spline chart with a theme applied. If a control in the page causes a postback, the lines in my chart change color, resulting in some lines getting almost invisible.
I have created a small demo project demonstrating the problem: http://imar.spaanjaars.com/Downloads/Other/TelerikChartIssue.zip
If you open Default.aspx in the browser, there's a green and a red line. If you choose an item from the DropDownList, the page posts back and the chart changes color.
What do I need to do to fix this?
Also, what do I need to do to change the color of the lines? I changed about a million Appearance properties, but to no avail. Do I / can I change the skin somehow?
Kind regards,
Imar
5 Answers, 1 is accepted
0
Imar
Top achievements
Rank 1
answered on 17 Dec 2009, 02:04 PM
BTW: I am using version 2009.3.1103.35.
Imar
Imar
0
Hello Imar,
You can use custom palette to change the lines color:
This will also fix the issue with lines losing their colors.
Best regards,
Ves
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
You can use custom palette to change the lines color:
<
telerik:RadChart
ID
=
"RadChart1"
runat
=
"server"
DataGroupColumn
=
"Company"
DataSourceID
=
"SqlDataSource1"
SeriesPalette
=
"MyPalette"
DefaultType
=
"Spline"
Skin
=
"Vista"
AutoLayout
=
"True"
OnDataBound
=
"RadChart1_DataBound"
Width
=
"740"
>
<
CustomPalettes
>
<
telerik:Palette
Name
=
"MyPalette"
>
<
Items
>
<
telerik:PaletteItem
MainColor
=
"Red"
>
</
telerik:PaletteItem
>
<
telerik:PaletteItem
MainColor
=
"Green"
>
</
telerik:PaletteItem
>
</
Items
>
</
telerik:Palette
>
</
CustomPalettes
>
<
PlotArea
>
...............
This will also fix the issue with lines losing their colors.
Best regards,
Ves
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Imar
Top achievements
Rank 1
answered on 21 Dec 2009, 09:47 PM
Hi Ves,
Thanks for that; that sorted it out.
Is the fact that the lines change colors a feature or a bug?
Imar
Thanks for that; that sorted it out.
Is the fact that the lines change colors a feature or a bug?
Imar
0
H Imar,
That's a bug and I have notified our developers of it, but I am afraid there is no certain time frame for the moment. Your Telerik points have been updated.
Best regards,
Ves
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
That's a bug and I have notified our developers of it, but I am afraid there is no certain time frame for the moment. Your Telerik points have been updated.
Best regards,
Ves
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Imar
Top achievements
Rank 1
answered on 23 Dec 2009, 01:13 PM
No problem. The Palette option worked fine, so at short term, this is not an issue for me anymore.
Kind regards,
Imar
Kind regards,
Imar