rd3 icon indicating copy to clipboard operation
rd3 copied to clipboard

Unable to use strings as x value in Line Chart

Open nivedhithaVenkatachalam opened this issue 8 years ago • 1 comments

I am unable to use string values in x axis. I get the error: Error: attribute: Expected number, "MNaN,NaNLNaN,NaNL…".

I am able to use string values for x axis in Bar chart though.

nivedhithaVenkatachalam avatar Nov 14 '16 21:11 nivedhithaVenkatachalam

@nivedhithaVenkatachalam, I think the lib expects a number/date, so it can use it And then you can format your x axis using xAxisFormatter

LeoAref avatar Apr 01 '17 20:04 LeoAref