Sets the point where the stripLine has to be plotted or drawn along the axis X.
var chart = new CanvasJS.Chart("container", { . . axisX:{ stripLines: [{ . value:12, . }] }, . . }); chart.render();
Also See:
Comments 7
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
How can i put more values?
Eg. 3 vertical and 2 horizontal striplines…
I solved! axisX:{
stripLines:[
{
value:1940
},
{
value:1980
}
Now i want to put some tags inside the chart, someone help?
Here is an example to show stripline-label inside chart.
Thiago,
We released v1.8.1 Beta with labelPlacement feature which will allow you to do the same using the api directly.
Is there a possible way of changing the strip height so that it only reaches the data point?
I’m going for something like this: http://peltiertech.com/Excel/pix5/dlgDropLines.png
Its not possible to set height for stripLine. But you can use one extra dataSeries of column type with dataPointWidth set to 1 to achieve this. Here is an example.
Thanks,
1 step closer to solving my problems.
Can anyone help me incorporating: http://jsfiddle.net/canvasjs/euhv6a94/
With this plugin: https://github.com/schme16/Chart.js-RangeSlider
Making 2 charts was my first solution, but I’ve been stuck and looking for alternatives.