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

highlight last data in bar chart #938

Closed
narri007 opened this issue Apr 12, 2016 · 4 comments
Closed

highlight last data in bar chart #938

narri007 opened this issue Apr 12, 2016 · 4 comments

Comments

@narri007
Copy link

Hi,
Thanks for the Charts. I am using the Bar charts in my project and its working very well. I have one doubt is, After loading the data to BarChartView how can i highlight the last record. Please see the attached images for reference,

I am getting like,
img_6083

But, i want to show like,
img_6082

Is there any method to set the bar highlighted at the time of initialization. Please help me on this.

Thanks,

@AntiMoron
Copy link
Contributor

@narri007 Hi , I ran into the same problem. How did you get that achieved?

@narri007
Copy link
Author

narri007 commented Jun 6, 2016

@AntiMoron, Use the method,
- (void)highlightValueWithXIndex:(NSInteger)xIndex dataSetIndex:(NSInteger)dataSetIndex callDelegate:(BOOL)callDelegate;

@AntiMoron
Copy link
Contributor

@narri007 Great thanks.

@Vay-Minzhou
Copy link

nice, the perfect solution to my problem

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