mcstoufer Posted October 1, 2010 Report Share Posted October 1, 2010 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? Quote Link to comment Share on other sites More sharing options...
mcstoufer Posted October 4, 2010 Author Report Share Posted October 4, 2010 Following up on this, if I make the Color for each condAttr to be white (255,255,255), the entire chart plots out using (192,192,192) as the color. This is just WRONG! It should be white. I'm no expert on sRGB color space math, but this should just render out as designed. Quote Link to comment Share on other sites More sharing options...
mcstoufer Posted October 4, 2010 Author Report Share Posted October 4, 2010 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 Quote Link to comment Share on other sites More sharing options...
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.