Home › forums › Using CanvasJS › Vertical stripline labels?
This topic contains 2 replies, has 2 voices, and was last updated by cshickman 2 years, 2 months ago.
My stacked bar chart has a requirement for me to have a label at the top of a stripline. But as far as I can tell, there is no way I can do that. I thought I could maybe accomplish this by putting the striple on axisY2 instead, but that doesn’t seem to work.
Here is a jsfiddle: http://jsfiddle.net/4vq1t8qm/11/
I’d ideally like to have the stripline stop at the bottom of the bar too if possible rather than extending all the way through.
I would attach a screenshot of what I’m trying to accomplish, but these forums don’t seem to have an upload button.
You can position stripline label on top of it by adding stripline to axisY2. Please check this updated jsfiddle.
Its not possible to stop drawing line at end of bar itself, but it can be stopped to the end of plotArea where axis-line will be rendered by setting tickLength to 0 (zero).
You must be logged in to reply to this topic.