Home › forums › Using CanvasJS › toolTip contentFormatter – take earlier dataPoint when not present › Reply To: toolTip contentFormatter – take earlier dataPoint when not present
Post in plain TXT file
Hope it will be okay to view this in plain text (forum style would be better..)
Thank you for your time!
Maybe use Array’s to achieve my goals?
Go with array for AxisX (generate all the 2020,1,1 2020,1,15 2020,2,1 2020,2,15 etc)
Then make array for chart lines containing all the data (with day and other values)
And at the end use functions to compare dates and insert value from ‘earlier’ date?
But not sure if it can be achieved in canvasJS to insert dataPoint from array’s/functions :D