Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

xTickValues is not work! #48

Open
charleslxh opened this issue Aug 25, 2016 · 3 comments
Open

xTickValues is not work! #48

charleslxh opened this issue Aug 25, 2016 · 3 comments

Comments

@charleslxh
Copy link

I need to reduce the x tick values, because they will overlay each other if too many, so I want to use xTickValues, but it not work.

@topicus
Copy link
Contributor

topicus commented Aug 25, 2016

@charleslxh You should do something like this: xAxis={{ tickValues: [2001,2002,2003}}.

A component example:

<NVD3Chart xAxis={{tickValues: [2001,2002,2003]}} .../>

I didn't tested it but it should work.

@topicus
Copy link
Contributor

topicus commented Sep 3, 2016

@charleslxh Can I close this?

@peterporfy
Copy link

I just tested and it works like that.

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

3 participants