Jump to content
JChartFX Community
  • 0
timopu

Unable to change colors for trend indicator (Less/Greater/Equal)

Question

Hello,

for some reason I'm unable to change colors for trend control using Conditional and its setColorLessThanReference, setColorGreaterThanReference, setColorEqualToReference methods - JChartFX is sticking to default values.

I tried this both in my custom code and with Trend sample package http://support.softwarefx.com/jChartFX/article/2502343?showassample=true .

Snippet of the code (last example of the sample package):

var conditional = trend1.getConditional();
conditional.setAppliesTo(cfx.gauge.ConditionalApplies.Indicator);
conditional.setColorLessThanReference("2f0000");
conditional.setColorGreaterThanReference("#009090");
conditional.setColorEqualToReference("#FFFFFF");

br,

Timo

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×