-
Notifications
You must be signed in to change notification settings - Fork 116
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
MultiColumn is not grouping correctly #116
Comments
I am having the same issue with multiLine chart. Is there a way to work around this? |
Hello I think you need null value in your serie colum : ->addSeriesColumn('Male', 'ArchitecturalGlassandMetalTechnician', 1)
->addSeriesColumn('Male', 'AgriculturalEquipmentTechnician', null)
->addSeriesColumn('Male', 'Not specified', 1)
->addSeriesColumn('Female', 'ArchitecturalGlassandMetalTechnician', null)
->addSeriesColumn('Female', 'AgriculturalEquipmentTechnician', 1)
->addSeriesColumn('Female', 'Not specified', null)
->addSeriesColumn('Prefer not to disclose', 'ArchitecturalGlassandMetalTechnician', null)
->addSeriesColumn('Prefer not to disclose', 'AgriculturalEquipmentTechnician', 3)
->addSeriesColumn('Prefer not to disclose', 'Not specified', 5); Or ->addSeriesColumn('ArchitecturalGlassandMetalTechnician', 'Male', 1)
->addSeriesColumn('AgriculturalEquipmentTechnician', 'Male', null)
->addSeriesColumn('Not specified', 'Male', 1)
->addSeriesColumn('ArchitecturalGlassandMetalTechnician', 'Female', null)
->addSeriesColumn('AgriculturalEquipmentTechnician', 'Female', 1)
->addSeriesColumn('Not specified', 'Female', null)
->addSeriesColumn('ArchitecturalGlassandMetalTechnician', 'Prefer not to disclose', null)
->addSeriesColumn('AgriculturalEquipmentTechnician', 'Prefer not to disclose', 3)
->addSeriesColumn('Not specified', 'Prefer not to disclose', 5); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
This is an issue I've found when trying to set a multi column chart. It is an error of rendering the chart since the chart data seems to be fine. When it is rendering, it groups some series into one replacing the title.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The chart should group differently those with ArchitecturalGlassandMetalTechnician, AgriculturalEquipmentTechnician, AboriginalChildPractitioner
Instead, it is grouping them together and replacing the title with ArchitecturalGlassandMetalTechnician
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Solution Ideas
My guess is in multiColumnChart.js at lines 37-40 it is defaulting the series with the first element.
The text was updated successfully, but these errors were encountered: