Hello,
I am using a scColorGrid. The control scales the colors automatically with regards the minimum and maximum value that is transferred to the plot.
If I transfer data between 10 and 210 to a plot those seem to be the values used to determine minimum and maximum colors.
I would however like to set the menimum to 0 and the maximum to 255.
Is that possible?
Regards
JB
scColorGrid minimum and maximum colors
Re: scColorGrid minimum and maximum colors
Hi JB,
In that case you can set palette minimum:
Or you should define your custom colour palette as shown here
In that case you can set palette minimum:
Code: Select all
TChart1.AddSeries scColorGrid
TChart1.Series(0).FillSampleValues 10
TChart1.Series(0).asColorGrid.UseColorRange = False
TChart1.Series(0).asColorGrid.UsePalette = True
TChart1.Series(0).asColorGrid.UsePaletteMin = True
TChart1.Series(0).asColorGrid.PaletteMin = 0
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |