score:1
Accepted answer
I made 2 changes to the fiddle
- Change tooltip
Change to show the series name instead of referencing a list
formatter: function () {
return '<b>'+ this.series.name + '</b><br/>' + 'Response Rate: ' + (100*this.point.y).toFixed(2) + '\%';
}
- Change setData()
Remove all the "colors" from setData to ensure consistency across categories.
series.setData([
{
name: tooltip_titles[s],
//color: colors[s],
y: dept_data["102"][4-s]
},
{
name: tooltip_titles[s],
// color: colors[Math.abs(s - 4)],
y: dept_data["104"][4-s]
},
{
name: tooltip_titles[s],
// color: colors[Math.abs(s - 4)],
y: dept_data["105"][4-s]
}]);
Here's the result:
For the second one:
The updated fiddle is here:
Source: stackoverflow.com
Related Query
- How to correspond tooltip title with the legends at the bottom in Highcharts?
- In highcharts how can I provide data with values x, y, title so that I can put the title in the tooltip?
- How can I make HighCharts 4.2.5 with boost.js invoke the tooltip formatter?
- Highcharts column how to move series name to the title position with bigger text size
- How to let x axis title still show on the bottom when setting fontsize attribute in Highcharts
- How to export the whole page or html content with Highcharts not just the chart?
- Highcharts - How to display legend symbol inside the tooltip
- Highcharts load data with ajax to populate the tooltip
- Highcharts - areaspline with negative values, area should be always at the bottom
- Highcharts tooltip in scrollable container scrolls with the content
- How To Dynamically Truncate The Y-Axis Title On Chart Resize/Reflow In Highcharts
- How to get the highlighted point from shared tooltip formatter, Highcharts
- Highcharts : How can i move the tooltip to external DIV?
- Highcharts : How do I keep the marker formatting and make the click event fire with a 5K+ point scatter plot?
- how to display the title in the middle of a donut chart with legend?(react-highcharts)
- how to display 2 same highcharts without duplicate the code
- How to merge two Highcharts container with the same legend-item
- How to display Highcharts legends with their corresponding chart?
- With HighCharts, how can I have the same tooltip formatter as my y axis
- How to edit tooltip in Highcharts C# code
- How do I export the content of a page as either jpg or pdf with Highcharts and scrollable data?
- how to use highcharts tooltip formatter in python code
- How to add a border to the title in highcharts
- How to edit the tooltip text in a highcharts boxplot
- Highcharts how to create legends based on the value of points
- How can I make milestone lines with a GANTT chart using the highcharts library?
- how to create a highcharts area with the top area highlighted?
- How to position a Highcharts title on the right of the chart?
- How can I display crosshair labels on top of the chart with Highcharts
- How can I get a chart only with legends using highcharts
More Query from same tag
- High charts click on one data point the other data points should disable
- Show Data For Grouped Series in ToolTip Highcharts
- How to pass parameters to react-highcharts?
- I want to show all lines but just legend of one of them in highchart
- Show symbol in legend
- Change Highchart graph amplitude through slider
- Uncaught TypeError: Cannot read property '0' of undefined javascript error and with highcharts
- Highmaps - how i can have a seperate legend by different report?
- In a Highcharts Stacked Area chart, is there a way of highlighting the area hovered over, rather than the area belonging to the nearest point?
- Adding a series dynamically with HighCharts Stock Charts
- Bar color not being set correctly in highcharts?
- Make highcharts bar-chart threshold line visible & labels not to overlap on one another
- How to override Hihgchart.js Network Graph default node hover effect?
- Highcharts - How to sort data by name?
- Inconsistent columns width issue in highcharts
- Update highstock chart dynamically
- Can I plot a diagonal plotline in highcharts?
- Highstock doesn't show all data in serie
- Highcharts : labels inside columnrange bar
- How I can change the axis both side in y axis?
- Highcharts dataLabel overlap
- Click event in drilldown chart - Highcharts
- Render from/to areas in Highcharts line chart
- Blank slider placeholders
- Displaying a Highchart Line Chart in Mapbox Marker Pop-up
- how to change grid alternate color in highcharts
- HighCharts - Pie chart drilldown for multilevel (3 to 4 level)
- How to use highcharts(highstock) to display year-week format data?
- Extracting data from JSONP in meteor
- 413 Request Entity Too Large HighCharts