Search the Community
Showing results for tags 'color'.
The search index is currently processing. Current results may not be complete.
Hi, I'm unable to set the color of series using the API when JChartFX's stylesheets are included. Simple example: if I modify the presenter.js of the example "JS_Lines_and_Stripes_Charts.zip" by adding calls to the setColor method of both series and series border (see below), the palette defaults override my API calls (so nothing happens) until I comment out the line <link rel="stylesheet" type="text/css" href="http://www.jchartfx.com/libs/v7/current/styles/jchartfx.css"/> from index.html. After the removal the API calls work ok. The same behavior is seen in our app whe
Hi, I am a JChartFX licence user. I am plotting chart with color section. I am not getting correct color section as per my provided color code sectionWarning = new cfx.AxisSection(); sectionWarning.setFrom(currAlertCriticalNo); Chart1.getAxisY().getSections().add(sectionWarning); sectionWarning.setBackColor("#ffdb99"); sectionWarning.getGrids().getMajor().setVisible(false); sectionWarning.getGrids().getMinor().setVisible(false); sectionWarning.getGrids().getMinor().setTickMark(cfx.TickMark.None); sectionWarning.getGrids().getMajor().setTickMark(cfx.TickMark.None); sectionWarning.
Hello, I have two short questions which might be easy to solve but I got some struggle with it: (1) I want to change the color of a line chart with three lines. The first line should be red: chart.getSeries().getItem(0).setColor("#ff0000"); This _ALMOST_ works, however, the line color is not red, it is 192-0-0 (its a bit two dark for real red). What am I doing wrong? I tried setTemplate("LineBasic") on the gallery attributes (2) How can I set the background of a "chart area" to a "unicolor background color" white (no gradient). Furthermore I want to take influence on the bor
In earlier versions of jChart, we were using the API to set a series color. This was working so long as the series was not in the CSS file. In Version 7.4, we are noticing the API is not working at all, and the series are all white after trying to change them with the API. Can you help us understand what changed, if the API is still supported, or if this is a bug that was already fixed in a later release? Thanks in advance for the help!