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

Y Axis need to add Time slots for current day #3368

Closed
leniyadav opened this issue Mar 29, 2018 · 2 comments
Closed

Y Axis need to add Time slots for current day #3368

leniyadav opened this issue Mar 29, 2018 · 2 comments

Comments

@leniyadav
Copy link

Hi All,
I am new to Swift and want to implement Line graph in my current project.
the graph will have values changing for every minute for the current day.X axis has Time from 00:00 to 00:00 and Y values has 100,200,300.

How to add Y axis values (time values) and plot in line graph ?

@Virtue86
Copy link

You can use IChartAxisValueFormatter to set your Y (valueFormatter)。
1.init
2.- (NSString * _Nonnull)stringForValue:(double)value axis:(ChartAxisBase * _Nullable)axis

@jjatie
Copy link
Collaborator

jjatie commented Mar 29, 2018

Please ask how-to's on Stack Overflow.

@jjatie jjatie closed this as completed Mar 29, 2018
@ChartsOrg ChartsOrg locked as off-topic and limited conversation to collaborators Mar 29, 2018
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