Jump to content
Software FX Community

Muted colors in chart from Conditional Attribute


mcstoufer

Recommended Posts

I have added a few conditional attributes to a series in a plot and the colors I have assigned to them are coming out a bit darker than desired. Is there some filter I have to modify to get the exact colors?

ConditionalAttributes firstQuartile = new ConditionalAttributes();firstQuartile.getCondition().setFrom(0.0);firstQuartile.getCondition().setTo((int)(value * 0.25));firstQuartile.getCondition().setToOpen(false);firstQuartile.setText("0-25%-ile of sample");firstQuartile.setColor(colors.get05QuartileColor());// #89A45EchartServer.getConditionalAttributes().add(firstQuartile);

The expected color is #89A45E but renders out at #677B47. 

Is this a bug or feature? Do I need to set the color of the series before or something?

Link to comment
Share on other sites

 Problem solved on this one. Apparently the border around each box (defaulted to gray) was being dithered into the fill color when the number of boxes were high (~2000).

 The solution here was to just turn the visibility of the border off for each CondAttr.

I would like to request this be addressed by SoftwareFX.  Not as  a bug, but as an operational feature. Once some level is reached, the borders are no longer rendered.

CustomStyleSample.zip

Link to comment
Share on other sites

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
Reply to this topic...

×   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.

×
×
  • Create New...