In Waterfall Chart, while showing negative y-values, falling intermediate / cumulative sums, the body is filled with red by default and it can be overridden by fallingColor property. In case of candlestick Chart, fallingColor can be used to override the default color of those dataPoints whose values are less than the previous dataPoint. The fallingColor can be a “HTML Color Name” or “hex” code.
Default: “#E40A0A”var chart = new CanvasJS.Chart("container", { . . data: [{ type: "waterfall", fallingColor: "#DD7E86", }, ] . . }); chart.render();
Also See:
Server Side Technologies |
Front End Technologies |
Contact |
|
---|---|---|---|
ASP.NET MVC Charts | JavaScript Charts | FAQs | |
PHP Charts | jQuery Charts | Sales Enquiries | |
Spring MVC Charts | React Charts | Support Forum | |
JSP Charts | Angular Charts | Careers | |
JavaScript StockCharts | |||
Privacy Policy © fenopix