Hi Manoj Mohan, thanks for your reply. I see that you are using the updated property inside toolTip and you are accessing the stockChart object from withing the options itself via the showTooltip function. Is there any way to implement this without accessing the stockChart object and manually invoking the showAt function from the options level?
Hi there! Thanks for the reply. However, your proposed solution is not working for me. Here is a fiddle representation of my current situation. https://jsfiddle.net/hmepdt28/ I want to show a tooltip when user hovers over the label “25” (or anywhere near it).
Thanks again
Hi. Thanks for the reply. I am actually trying to implement two charts, where the 2nd chart will be on top of the first and both are visible. I have applied backgroundColor: Transparent on the top chart so that the bottom one is visible. The problem I am facing is that I can not align the x-axis of the two charts so that they start and end together. I am guessing that this is due to different lengths of y-axis labels of the two charts.
Please have a look at this fiddle for reference: https://jsfiddle.net/6rw7u8ez/ Please let me know if there is some way to make the two chart’s x-axis align.
Thanks
I understand that in the fiddle above they are overlapping because my striplines are very close to one another, which is the case in my scenario. Can we somehow place the labels on top of each stripline? Or please let me know if there are any other better solutions. Thanks
I would like to add some details to my query. In a map, we have a scale (ex. 1: 2000000), where 1mm on the map represents 2km of real life distance. My chart will work in a similar way. Here y-axis represents distance and I want a scale to map exact 1mm on the chart’s y-axis with the real life distance.
Consider the fiddle link: https://jsfiddle.net/mustadirmahmood/ovwebL51/41/ Here I want a scale ratio of 1mm:2mm. Here the highest y-coordinate is 30mm. I want the distance from x-axis to that y-coordinate(y=30mm) to be exactly 15mm on a ruler.
Hope this detail allows you to better understand my query.
Thankyou so much for the update.