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

Change x-axis in bubble chart #1007

Closed
Exlinct opened this issue May 4, 2016 · 4 comments
Closed

Change x-axis in bubble chart #1007

Exlinct opened this issue May 4, 2016 · 4 comments

Comments

@Exlinct
Copy link

Exlinct commented May 4, 2016

Can i customize the x-axis in bubble chart by input value ?
simulator screen shot may 4 2016 5 18 25 pm

@liuxuan30
Copy link
Member

what you mean? It's too generic, of course you can custom everything :)

@Exlinct
Copy link
Author

Exlinct commented May 5, 2016

/// - parameter xIndex: The index on the x-axis.
/// - parameter val: The value on the y-axis.
/// - parameter size: The size of the bubble.
public init(xIndex: Int, value: Double, size: CGFloat)
i want to set x-axis like y-axis so how can i do it ?

@liuxuan30
Copy link
Member

liuxuan30 commented May 5, 2016

In short: currently x axis is index based axis, so you can't.
In depth: we do have plans for supporting float x axis, but no ETA yet. If you are familiar with the library enough, you can write a whole new logic that takes x axis just like y axis, involving a lot of override for renderer code.

@Exlinct
Copy link
Author

Exlinct commented May 5, 2016

ok thank you for answer

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