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 show the tooltip like value when clicked on candle of candleStick chart #3832

Closed
1 task
RajAggrawal0507 opened this issue Feb 5, 2019 · 2 comments
Closed
1 task

Comments

@RajAggrawal0507
Copy link

ℹ Please fill out this template when filing an issue.
All lines beginning with an ℹ symbol instruct you with what info we expect. You can delete those lines once you've filled in the info.

Per our *CONTRIBUTING guidelines, we use GitHub for
bugs and feature requests, not general support. Other issues should be opened on Stack Overflow with the tag ios-charts.

Please remove this line and everything above it before submitting.

What did you do?

ℹ Please replace this with what you did.

What did you expect to happen?

ℹ Please replace this with what you expected to happen.

What happened instead?

ℹ Please replace this with of what happened instead.

Charts Environment

Charts version/Branch/Commit Number:
Xcode version:
Swift version:
Platform(s) running Charts:
macOS version running Xcode:

Demo Project

ℹ Please link to or upload a project we can download that reproduces the issue.

@RajAggrawal0507
Copy link
Author

I am using swift 3.3 and using the version the 3.1.1.
The issues I am facing is

  1. I want to show the tooltip like values of candlestick chart when a user clicks on any of the candles in the candlestick chart.
  2. I want to round the corners of the candles in the candlestick chart.
    I need help for 2 points as I put lot of time on finding but no solution found yet.

@anton-filimonov
Copy link

  1. Set delegate to chart view, implement chartValueSelected and show whatever you need
  2. Create your subclass of candlestickchartrenderer and override method, used to draw values. Use parent method implementation as example for where to take values from. Then inject object of your subclass instead of the default renderer

And actually it's better to ask questions like this on stack overflow

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