@smithfx,
You can achieve the above requirement by converting the provided X and Y value to the corresponding pixel coordinates using convertValueToPixel method and positioning the crosshair over the same as shown in this JSFiddle.
——— Manoj Mohan Team CanvasJS
@govind,
Tooltip gets updated along with highlighting the datapoint based on current mouse x-coordinate. It’s not possible to update based on y-coordinates, as of now. However, you can workaround this by rotating the chart-container and using secondary axisX instead of primary as shown in this JSFiddle.
— Manoj Mohan Team CanvasJS
@details212,
You can use scaleBreaks to remove the unnecessary regions within chart plot-area. Please take a look at this JSFiddle.
Please take a look at this JSFiddle.
Considering this thread as duplicate of show crosshair and shared tooltip value on y axis time and x axis value and closing the same.
As of now, axisY supports number but not date-time. However you can work-around it by passing timestamp and formatting it in label and toolTip. Please take a look at this JSFiddle.
If you are still facing any issue, kindly share JSFiddle reproducing the issue so that we can understand the scenario better and help you out.