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.
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
timopu
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
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.