Jump to content
JChartFX Community
  • 0

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


timopu

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

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.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...