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 select a value in line chart data point and same for bar chart #1265

Closed
AmberKCopper opened this issue Jul 23, 2016 · 8 comments
Closed

Comments

@AmberKCopper
Copy link

I want to check if the data point is selected by user or not. So that i can modify properties of that point in line chart or bar in bar chart.

@liuxuan30
Copy link
Member

check the delegate protocol.

@AmberKCopper
Copy link
Author

Yea i know the chatValueSelected on that method I want to modify circle radius and other properties of combined chart data point how do i do that

@AmberKCopper
Copy link
Author

And the circleradius dont has something like to have circle border I want the outer circle to be hollow but with boundary

@liuxuan30
Copy link
Member

liuxuan30 commented Jul 25, 2016

so when you find highlighted data, you can override drawHighlighted() in that chart renderer to change the shape

@AmberKCopper
Copy link
Author

In chartValueSected i get index of tapped data but cant get instance of lineDataSet to change circleRadius etc theres no property in chartViewBase for lineData. I want highlight this way. Thankyou

@liuxuan30
Copy link
Member

liuxuan30 commented Jul 25, 2016

are you talking about combined chart? If so, the combined chart is like putting different charts data into one, called CombinedChartData. Once you know the highlight, you are able to know the position of your line data set. Take a look at CombinedChartData

@AmberKCopper
Copy link
Author

Yea combinedchart.. Thanks ill look into it and ask :)
Can we also have hollow circleradius for line chart means boundary to be colored and the circleholeradius to be colored

@liuxuan30
Copy link
Member

hmm.. not sure what you mean.. you have to check the code how it is used.. if not, you can override the methods to do whatever you like

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