January 30, 2006 at 11:44 am
Hello all 🙂
I am running report designer thru visual studio against sql server to report via our intranet.
I wish to change the colours of the lines in a line chart, but cannot figure out how to do it.
It seems to me there should be a style button in the properties/apperance section for the data vlaues, like there is for the legend etc. I have looked into the rdl file and looked on the m$ website and found that the <style> tags do not apply to lines on a chart.
Surely somewhere the colours are defined. Therefore surely they should be able to be changed. I have seen vague references to changing clours on charts with code, but not how to actually do it.
It appears that the chart object comes from somewhere other than m$, so it is possible that I may need to spend thou$ands on their software to make this happen, but surely a simple change of colours is possible as it stands now!!
btw the object browser in my vis studio is always blank, does anyone know about that?
man i hate the first few weeks of a new program!
Any help / links / suggestions very welcome
Cheers - Mike
January 30, 2006 at 11:59 am
The Chart control is embedded and is not editiable.
In Visual Studio
If you right click on chart, and select properties.
A window pops up. You can change the Palette.
But that is the only color customization you can do.
because the # of series is unknown the control won't let you assign colors to any single Series. it is handled by the control.
Color customization is one of the negative aspects of using the items that come with reporting services.
It still may be possible thru code, but I'm not sure.
January 30, 2006 at 12:26 pm
Thanks for the fast reply
Anyone out there know how to create a custom palette that can be added in wherever so it appears in the list to select from as per above?
Cheers - Mike
January 30, 2006 at 2:07 pm
well how about that! service patch 1 for reporting services adds this ability. easy as that!!
problem solved
January 31, 2006 at 8:40 am
Eerrr...
I better check it. I may not be running sp1,
Thanks for posting what you found out.
January 31, 2006 at 10:48 am
hi there
there is also sp2, so i found out yesterday!
Viewing 6 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic. Login to reply