You must be logged in to post your query.
Home › Forums › Chart Support › Change Height of Stripline on Axis X
Tagged: change height of stripline, x stripline
See this example: https://canvasjs.com/docs/charts/chart-options/axisx/strip-trend-lines/value/
The stripline is at X value 1940, which has a Y value of 32. How do I get the top of the stripline to stop at the top of the Y value, so where the dot is (32)?
@restyl1997,
StripLines are drawn from the axis line till the opposite end of the plot-area and can’t be restricted until the dataPoint value itself.
However, you can achieve the above requirement by using dummy dataSeries of a line chart as shown in this JSFiddle.
Considering this as a duplicate of Change Height of Stripline on Axis X, hence closing the same.
— Shashi Ranjan Team CanvasJS
You must be logged in to reply to this topic. Login/Register