Home › forums › Using CanvasJS › toolTip contentFormatter – take earlier dataPoint when not present › Reply To: toolTip contentFormatter – take earlier dataPoint when not present
ToolTip is shown for every dataPoint. When toolTip shared property is set to true, all the y-values from each series for the corresponding x-value in the chart (if any dataPoint present) are shown. If the y-value is not present in one of the series, the toolTip content will show the y-values for the rest of the series. It’s not possible to show the previous y-value when it’s not present in one of the series as it’s for corresponding x-value and not previous.