Hello Aron, Okay Thanks. I got it to work. I had to remove the "|" at the beginning of your code and also had to remove the "|" at the end of your code before it would run properly. Not sure what those symbols are used for. Thanks Aron. I will study this and insert different values for colors. Where did you learn to code for "chart background gradient colors"?
--- In [email protected], Aron <[EMAIL PROTECTED]> wrote: > > electricwally77 wrote: > > Hello Aron, I pasted your code into my chart formula exactly as > > appears below and received an error message on line 4 that said > > "Variable 'bgcolor' used without having been initialized." As soon as > > I fix line 4 I assume line 5 will give me the same type of error > > message. Appreciate any advice. Thank you Aron. > > > did not get copied correctly > this will work: > > |BgColor= ParamColor("Bg",ColorRGB( 251,251,252)); > > BgTop=ParamColor("BgTop",ColorRGB(251,251,251) ); > > BgBot=ParamColor("BgBot", ColorRGB(219,225,227)); > > SetChartBkColor( BgColor); > > SetChartBkGradientFill( BgTop,BgBot);| >
