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 ChartMarker in CombinedChart? #1454

Closed
Shunshine07 opened this issue Sep 16, 2016 · 4 comments
Closed

How to show ChartMarker in CombinedChart? #1454

Shunshine07 opened this issue Sep 16, 2016 · 4 comments

Comments

@Shunshine07
Copy link

Shunshine07 commented Sep 16, 2016

How to display marker in case of combined chart with different units.

For example, I have combine chart, in line chart the speed is km/min, and in bar chart the speed is km/h. I want to display in marker 50 Km/h when the marker will display in bar chart and when marker display in line chart its should be 20 km/min.

Also marker do not display correctly when right axis of Y is enable. It still takes left Y axis reference.

Also in case of Stacked Bar Chart, for different stacks it is showing the total upper value - That is sum of all stacks. But how to display it with different different stacks?

Anyone can help me ?

Thanks in advance.

@liuxuan30
Copy link
Member

liuxuan30 commented Sep 18, 2016

Which version you are using? Please take a look at how ChartMarker is used and implemented in ChartsDemo, and you should know it.

@Shunshine07
Copy link
Author

Shunshine07 commented Sep 19, 2016

Well I was using 2.2.5. But I have checked with 3.0 also.
Though combinational chart working fine. But Stacked bar chart is not.
And yah still no idea about how to use different units for different datasets.

@liuxuan30
Copy link
Member

I suggest you migrate to Chart 3.0. Marker is redesigned.

@danielgindi
Copy link
Collaborator

Please note that you need to set the axisDependency of the dataset to match the right yAxis.
Also - you should migrate to Charts 3.0 :-)

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