all groups > sql server reporting services > may 2006 >
You're in the

sql server reporting services

group:

Custom Code in Chart - background color


Custom Code in Chart - background color MSSQLServerDeveloper
5/11/2006 10:38:02 AM
sql server reporting services:
I have the following very simple code block that I wrote for a chart.

public function bdr_chartcolor(xType as string) as string
IF xType = "IR"
return "White"
ELSE
return "Blue"
END IF
end function

HOW and WHERE do I implement it to set the charts background color? Many
properties of objects have EXPRESSION as an option, HOWEVER, there is no
Re: Custom Code in Chart - background color Tim Dot NoSpam
5/15/2006 2:55:33 PM
Chart area, Fill.

"MSSQLServerDeveloper" <MSSQLServerDeveloper@discussions.microsoft.com>
[quoted text, click to view]

Re: Custom Code in Chart - background color Tim Dot NoSpam
5/15/2006 2:56:13 PM
Sorry,

plot area, fill.

There are two, the area outside the chart plot area and the area inside the
chart plot area.

Use Code.bdf_chartcolor(...) in the expression editor.

"MSSQLServerDeveloper" <MSSQLServerDeveloper@discussions.microsoft.com>
[quoted text, click to view]

AddThis Social Bookmark Button