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

Bar Chart > Range bar #100

Closed
clementcohen opened this issue May 22, 2015 · 8 comments
Closed

Bar Chart > Range bar #100

clementcohen opened this issue May 22, 2015 · 8 comments
Labels

Comments

@clementcohen
Copy link

Hi, is it possible to make a range bar with this? I need a bar graph from point A to point B and not 0 to point A

Thanks in advance

Clement

@danielgindi
Copy link
Collaborator

I didn't quite understand what you mean...

@danielgindi
Copy link
Collaborator

Oops I hit the Close and comment by mistake.

@clementcohen
Copy link
Author

@danielgindi
Copy link
Collaborator

Well it's not yet possible, except for candlestick charts.
But that should be quite easy to implement... Do you want to give it a try? :-)

@clementcohen
Copy link
Author

I don't really know how to do it :-/ yeah the candlestick but without stick ;-)

I'm pretty new with iOS development

Sent from my iPhone

On May 24, 2015, at 1:07 PM, Daniel Cohen Gindi notifications@github.com wrote:

Well it's not yet possible, except for candlestick charts.
But that should be quite easy to implement... Do you want to give it a try? :-)


Reply to this email directly or view it on GitHub.

@AlBirdie
Copy link
Contributor

That's very simple. Take a look at the CandleStickChartDataRenderer's drawDataSet method. The shadow is the line. Skip all the shadow calculations and drawing code and you're done.

@danielgindi
Copy link
Collaborator

Have you succeeded with this?

@smilydronavalli
Copy link

Thanks,its working fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants