Skip to content
This repository has been archived by the owner on Dec 26, 2018. It is now read-only.

Unable to use strings as x value in Line Chart #96

Open
nivedhithaVenkatachalam opened this issue Nov 14, 2016 · 1 comment
Open

Unable to use strings as x value in Line Chart #96

nivedhithaVenkatachalam opened this issue Nov 14, 2016 · 1 comment

Comments

@nivedhithaVenkatachalam

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.

@LeoAref
Copy link

LeoAref commented Apr 1, 2017

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants