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

XY Bubble Chart #990

Closed
Eflet opened this issue Apr 29, 2016 · 5 comments
Closed

XY Bubble Chart #990

Eflet opened this issue Apr 29, 2016 · 5 comments

Comments

@Eflet
Copy link

Eflet commented Apr 29, 2016

I know there already have a floatXAxis branch but it seems still use the index based x-axis.
Is it possible to change the x-axis to y-axis, I mean , use two y-axis on the graph, one on left and one on bottom? I fond there is a render called ChartYAxisRendererHorizontalBarChart, may be we can use this.

@liuxuan30
Copy link
Member

of course you can. I already did that. But it depends on your demands, and it's kind of workaround rather than a solution.

@Eflet
Copy link
Author

Eflet commented May 5, 2016

I have tried myself, I try to modified the bubble chart only but I failed. I found it need to write almost every thing if I want to remove the index based x-axis.
At last I write a new series of chart type for XY plot.

I'm not familiar with swift, but now it can show a bubble at any point by x and y.
screenshot

XYBubbleChart code:
https://github.com/Eflet/Charts/tree/v2.2.3

I like this chart framework, it's awosome, Thank you!

@Eflet
Copy link
Author

Eflet commented May 5, 2016

By the way, you said you already did that, do you mean floatXAxis?
I tried the floatXAxis but it seems not finished...

Or is there any other branch?

@liuxuan30
Copy link
Member

liuxuan30 commented May 5, 2016

@Eflet, I just took the horizontal y axis acts as the x axis :) It's kind of hacky, but it works. Looks like similar to your solutions.

@Eflet
Copy link
Author

Eflet commented May 6, 2016

OK, Thanks.

@Eflet Eflet closed this as completed May 6, 2016
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