You must be logged in to post your query.
Home › Forums › Chart Support › Tooltip Positioner
Tagged: tooltip, Tooltip Position
Hi CanvasJS Team,
I need to show tooltip always at the bottom of the chart, but the left position of the tooltip will be relevant to the point on the chart.
Is there any callback function for adjusting position provided on tooltip which gets called before a tooltip is shown so that user can calculate respective x and y co-ordinates where the tooltip should appear.
You can fix the vertical position of tooltip by setting top & bottom CSS properties. Please find the necessary CSS styles mentioned below.
top: 360px !important;
bottom: auto !important;
Please take a look at this JSFiddle for complete code.
You must be logged in to reply to this topic. Login/Register