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

Annotation label support? #175

Closed
simonhopkin opened this issue Jun 25, 2015 · 3 comments
Closed

Annotation label support? #175

simonhopkin opened this issue Jun 25, 2015 · 3 comments

Comments

@simonhopkin
Copy link

Hi, thanks for the work you have done here in porting this library from Android.

Could you please let me know if its possible to add annotations to charts? I want to add a label to the chart indicating the point at which some event occurred, for example if the chart is displaying heart rate bpm over time I would like to add a label to the chart indicating when the user started to exercise or sleep.

@liuxuan30
Copy link
Member

do you mean ChartMarker? It will pop up a small window to let you display something.

@simonhopkin
Copy link
Author

I don't think BaloonMarker is suitable as I want to show multiple events on
a chart. I think only 1 marker is supported per chart?

On 25 June 2015 at 11:10, Xuan [email protected] wrote:

do you mean BalloonMarker? It will pop up a small windows to let you
display something.


Reply to this email directly or view it on GitHub
#175 (comment)
.

@danielgindi
Copy link
Collaborator

Well the chart supports more than 1. By default, a TAP will unmark the previous highlights - but you could do whatever you like and there are public functions to set the current highlight or highlights.

Anyway you could use any marker view you want and put wherever you want over the chart view.

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

3 participants