Stacked Bar Chart custom attributes?
See original GitHub issueHi,
I’m having a stacked bar chart, and on hover I want a list of names to appear in the tooltip.
I found a solution that works with jquery / pure javascript but it somehow doesn’t in react.
in my data array I have something like:
{
names: ['Test, Test, Test'],
name: d.name,
data: this.calculateForDescriptor( d ),
color: d.color
}
And my tooltip formatter:
tooltip: {
formatter: function() {
var result = `Names`;
// in here I can't access the names attribute, but every other attribute.
return result;
}
},
Any idea why I can’t access the names attribute?
Thanks a lot! David
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
A Complete Guide to Stacked Bar Charts | Tutorial by Chartio
Stacked bar charts extend the standard bar chart by dividing each bar into multiple subcategories. Learn how to best use this chart type...
Read more >Stacked Bar Chart in SSRS - Tutorial Gateway
In this article we show you, How to create a Stacked Bar Chart in SSRS, How to change the Chart Title, Legend Position,Stacked...
Read more >8 How to Create a Stacked Bar Chart
Editing Chart Attributes · Click Edit Page 2 on the Developer toolbar. · Under Regions, click Flash Chart. · Under Chart Settings, edit...
Read more >Stacked Column 2D - Chart Attributes | FusionCharts
See all attributes. Revenue (In USD) $0 $50K $100K $150K ... Stacked Column 2D chart attributes. Functional Attributes. These attributes let you control...
Read more >Stacked Bar Chart Attributes - Froala
Using paletteColors attribute, you can specify your custom list of hex colors for the data items. The list of colors have to be...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I found the solution to this mentioned in a couple of issues from the highcharts repo: https://github.com/highcharts/highcharts/issues/5263 https://github.com/highcharts/highcharts/issues/4258 In short, disable
dataGrouping
! Hope it helps @rizkiandriantoThanks @paufabregat will check it later…