[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

RE: [sqr-users] Changing line colors in line charts



Ok, to answer my own question and for the benefit of those who might want to
do this some day.

Must specify -Printer:PD (which I already had in place) on the command-line

Must then also go to SQR Developer and navigate through
[Edit].[Preferences].[General] and select the checkbox "Use Internal Browser
for Preview (if available)"

-----Original Message-----
From: sqr-users-bounces+jeff.steinfeldt=wellsfargo.com@sqrug.org
[mailto:sqr-users-bounces+jeff.steinfeldt=wellsfargo.com@sqrug.org] On
Behalf Of Jeff.Steinfeldt@wellsfargo.com
Sent: Wednesday, January 19, 2005 11:13 AM
To: sqr-users@sqrug.org
Subject: [sqr-users] Changing line colors in line charts


Can anyone tell me how to change the colors of the lines in a line chart in
SQR?  My chart has three lines and they are printing in blue, red, and
yellow.  Would like to make the yellow one green.

I've got NewGraphics=TRUE in the SQR.INI file.

I created a color palette:

        Create-Color-Palette
                Name = 'ChartPalette01'
                Color_1 = (255, 051, 051)               ! Mid Red
                Color_2 = (102, 051, 255)               ! Warm Blue
                Color_3 = (051, 255, 102)               ! Cool Green
                Color_4 = (255, 204, 051)               ! Warm Yellow
                Color_5 = (255, 051, 102)               ! Cool Red 

And then referenced the palette in the Print-Chart:

        Print-Chart LineChart1 (000, 000)
                Color-Palette = 'ChartPalette01'
                TITLE = $formatTitle
                Data-Array-Row-Count = #Record_Count
                Data-Array-Column-Count = #Record_Count
                Data-Array-Column-Labels = ('[SIZE=12]Partner Transactions',
'[SIZE=12]Partner Applications', '[SIZE=12]Partner Fundings')
                Data-Array = chartData
                Y-Axis-Label = 'Total Transactions'
                X-Axis-Label = 'Month'

I receive no errors or warnings, it just ignores the new colors.

Am running 8.1 under Windows XP Professional and connecting to SQL Server
database.

Thanks in advance.

_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users

_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users