We are creating many charts. I would like them to have a consistent look to them.
Using a built-in skin seems like it would work, however I ran into the problems with the skin overwriting properties I manually set. (I saw another thread regarding that issue too).
Not all the charts will be the same type (bar, pie, etc), yet I would like them to have the same series colors, backgrounds, fonts, labels.
What is the easiest way to apply a consistent look to all the graphs?
Using a built-in skin seems like it would work, however I ran into the problems with the skin overwriting properties I manually set. (I saw another thread regarding that issue too).
Not all the charts will be the same type (bar, pie, etc), yet I would like them to have the same series colors, backgrounds, fonts, labels.
What is the easiest way to apply a consistent look to all the graphs?
5 Answers, 1 is accepted
0
Hello Shawn,
After applying a skin you need to set the SkinsOverrideStyles property to False. This way your customization changes will take effect.
Setting the color of a line series for example can be achieved like this:
line4.Appearance.FillStyle.MainColor = System.Drawing.Color.Green;
More about styling the chart can be found in our hep topics here:
http://www.telerik.com/help/aspnet-ajax/radchart-styling-skinning-example.html
http://www.telerik.com/help/aspnet-ajax/radchart-styling-elements.html
All the best,
Peshito
the Telerik team
After applying a skin you need to set the SkinsOverrideStyles property to False. This way your customization changes will take effect.
Setting the color of a line series for example can be achieved like this:
line4.Appearance.FillStyle.MainColor = System.Drawing.Color.Green;
More about styling the chart can be found in our hep topics here:
http://www.telerik.com/help/aspnet-ajax/radchart-styling-skinning-example.html
http://www.telerik.com/help/aspnet-ajax/radchart-styling-elements.html
All the best,
Peshito
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0
Shawn
Top achievements
Rank 1
answered on 09 Nov 2011, 03:28 PM
I am not seeing that Property in the Report Designer or in the codebehind intellasense for the Chart. I am using Reporting 2011 Q2.
0
Hello Shawn,
Since you have set a Product: RadChart for ASP.NET AJAX in your ticket my previous post was intended to help you for this technology.
Please, take a look at the following blog post in our code library. It describes how to apply custom theme for Reporting:
http://www.telerik.com/community/code-library/reporting/general/applying-custom-skin-to-the-web-report-viewer.aspx
All the best,
Peshito
the Telerik team
Since you have set a Product: RadChart for ASP.NET AJAX in your ticket my previous post was intended to help you for this technology.
Please, take a look at the following blog post in our code library. It describes how to apply custom theme for Reporting:
http://www.telerik.com/community/code-library/reporting/general/applying-custom-skin-to-the-web-report-viewer.aspx
All the best,
Peshito
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0
Shawn
Top achievements
Rank 1
answered on 14 Nov 2011, 04:02 PM
Peshito,
I do not belive I created a ticked. I simply posted to the Reporting forum. Are you able to change the ticket and route the the appropriate person?
My issue does not involve skinning the report viewer. I belive the link you provided is applicable to that rather than my issue.
I do not belive I created a ticked. I simply posted to the Reporting forum. Are you able to change the ticket and route the the appropriate person?
My issue does not involve skinning the report viewer. I belive the link you provided is applicable to that rather than my issue.
0
Hello Shawn,
Sorry for the created confusion. Unfortunately although the chart item in Telerik Reporting is based on RadChart for ASP.NET AJAX, they differ in some aspects and the chart item does not have SkinsOverrideStyles property.
Greetings,
Steve
the Telerik team
Sorry for the created confusion. Unfortunately although the chart item in Telerik Reporting is based on RadChart for ASP.NET AJAX, they differ in some aspects and the chart item does not have SkinsOverrideStyles property.
When styling the chart item, you must take in consideration the following:
- Chart's Skin - This is with high priority for Chart style (Chart&Series font, Chart&Series borders and etc.);
- Series Palette - This is second priority after Skin for Series Style(Series font, Series borders and etc.). If Chart's Skin is set it will overwrite Series Palette customizations;
- Series(Collection) Appearance - This is with third priority after Series Palette. Here for every chart series you can set font, border and etc. If some of the above properties are applied they will overwrite Series Appearance.
- Custom Palettes - This with forth priority after Series(Collection) Appearance. If some of the above properties are applied they will overwrite the Custom Palettes
Greetings,
Steve
the Telerik team
Q2’11 SP1 of Telerik Reporting is available for download (see what's new). Get it today.