-
-
Notifications
You must be signed in to change notification settings - Fork 6k
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
Horizontal bar chart in combined bar chart. #210
Comments
I don't think it makes sense for a combined chart to have a honrizontal bar chart... the xAxis and yAxis totally reversed. What information do you want to send for such a chart? |
I'm interested in a horizontal bar chart with a horizontal line chart actually. Sent using CloudMagic [https://cloudmagic.com/k/d/mailapp?ct=pi&cv=6.0.64&pv=8.1.3] — |
Well I don't think current scheme supports this. However, a 'honrizontal line chart' is harder to understand, right? I don't see such a chart in real life. Technically, it is possible to do so. I think once #194 is carried out, it can achieve your goals much easier. #194 will no longer distinguish xAxis and yAxis rendering logic, they share the same math to render. Currently, xAxis is using xIndex, which means the distance is equal on xAxis. If you just want to rotate the whole chart, that's quite easy. However, the labels will also be rotated, you have to take care of them. You have to understand how the transformer and the CTM works, then you are good to go. |
Thanks for your help, I found another library I think I can use but if that doesn't work I think rotating the whole chart should be just fine for now. |
do you mind share what's the library? |
I looked in the docs as well as the MPAndroid Stackoverflow but couldn't find it. Is there a way to add a horizontal bar chart to a combined chart? I see a way to add a vertical bar chart only.
The text was updated successfully, but these errors were encountered: