Is it possible to set xvalues to an array of strings?

30 views
Skip to first unread message

Jake Tran

unread,
Jun 7, 2018, 2:47:54 PM6/7/18
to jQuery Sparkline
Hi,

I want to set the xvalues parameter to an array of strings (dates) instead of integers. For example:

xvalues: ['2017-06-05', '2017-06-06',...

But when I do that, the sparkline chart doesn't show up. Is there a way to do this? Preferably without mapping the default sequential integers to the individual dates?

Thanks!
Reply all
Reply to author
Forward
0 new messages