Can paths/text be mapped to tick marks? For example, I would like a horizontal black line from the minimum (1) to the maximum (100) across the graph. I also want it to scale if the user resizes the window. Although I noticed that the entire graph (including tick marks) scales when the window is resized, using:
chart.renderer.path(['M',68,133, 'L', 892, 133])
.attr({
'stroke-width': 2,
stroke: 'black'
})
.add();
does not scale accordingly. It appears fine at full window size, but when the window is shrunk, the line remains the same length and extends outside of the graph area. Is there a way to prevent this from happening?