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

In LineChart x-axis, splits into more numbers and not able view x-axis last point #60

Closed
mykrr opened this issue May 19, 2014 · 4 comments

Comments

@mykrr
Copy link

mykrr commented May 19, 2014

I have displayed the 365 days in the x-axis in iPhone (Portrait) view. But i have face an issue in the in view last date (i.e today date) in the line chart by tracking the current date.

Is having any solution for this scenario?

@mykrr mykrr changed the title LineChart splits not view last x axis last point LineChart splits, not able view x-axis last point May 19, 2014
@terryworona
Copy link
Collaborator

Sorry, I don't quite understand what you're asking.

Maybe post some sample code?

@terryworona
Copy link
Collaborator

Screenshots would also help.

@mykrr mykrr changed the title LineChart splits, not able view x-axis last point In LineChart x-axis, splits into more numbers and not able view x-axis last point May 20, 2014
@mykrr
Copy link
Author

mykrr commented May 20, 2014

When i tried to display the 365 points in x-axis and view the data in vertical touchpoint. But i can able to see up to 363 points (when i drag the touch point till to the end). Please refers the attached screenshot.

screenshot

@terryworona
Copy link
Collaborator

Ah right.

The tooltip is for demo purposes only and used to demonstrate what could potentially be done with the chart's delegation.

The tooltip's x-position is clamped to include 10px of padding on either side to avoid rending issues. You could write your own tooltip, modify the current only, or provide less data points.

Hope this helps.

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