Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to make the ChartXAxis has an offset between the zero point #875

Closed
billxie1988 opened this issue Mar 24, 2016 · 3 comments
Closed

How to make the ChartXAxis has an offset between the zero point #875

billxie1988 opened this issue Mar 24, 2016 · 3 comments

Comments

@billxie1988
Copy link

Just like the image supposed. Is there any way to move the xAxis starpoint from zero point?Or what I mean is to make the xAxis label text aligenment center
default

@billxie1988
Copy link
Author

I find that may be I can do something in calcMinMax()

@billxie1988
Copy link
Author

I check the combine viewchart set
_chartXMin = -0.5
_chartXMax = - 0.5
make it work.But I still don't understand these param meanings
default

@liuxuan30
Copy link
Member

_chartXMin = -0.5
_chartXMax = - 0.5 is used to define the matrix. when you change it, the matrix will change, so you see waht you got.
Be careful changing it, might get unexpected results if it goes wild

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

No branches or pull requests

2 participants