score:1
check for levelnumber
property in series, see: http://jsfiddle.net/qlczr/2/
tooltip: {
formatter: function() {
if(this.series.levelnumber == 1) {
return 'first level';
} else {
return 'parents level';
}
}
},
or:
for each series you can set pointformat
(formatter per series is not supported), see: http://jsfiddle.net/qlczr/3/
series: [{
name: 'things',
colorbypoint: true,
tooltip: {
pointformat: 'parent series'
},
data: [{
name: 'animals',
y: 5,
drilldown: 'animals'
}, {
name: 'fruits',
y: 2,
drilldown: 'fruits'
}, {
name: 'cars',
y: 4,
drilldown: 'cars'
}]
}],
score:0
both series and drilldown.series contain a tooltip object. this means you can customize each one individually in the correct part of the options object.
check here:
score:1
@paweł fus
there is no levelnumber
property, and function false in your script
but there is a drilldown
property can be use
pointformatter: function() {
if(this.hasownproperty("drilldown")) {
return "<b>{series.name]:({point.y}) parent</b>";
} else {
return "<b>{series.name}:({point.y}) child</b>";
}
}
Source: stackoverflow.com
Related Query
- Can I make a custom tooltip on a highcharts drilldown?
- How can I make React Native in Android aware of a click event in a tooltip in a Highcharts chart?
- How can i make my gnatt highcharts tooltip in this shape
- How can I make HighCharts 4.2.5 with boost.js invoke the tooltip formatter?
- Highcharts - Can we have default and custom tooltip based on different chart types?
- Adding thousands separator for custom formatted highcharts tooltip
- Tooltip on custom button in Highcharts
- Highcharts custom renderer chart and tooltip
- Need to make tooltip border color same as marker color using Highcharts
- Can we draw custom legends not based on series in highcharts
- Highcharts - how to set custom content in point tooltip (popup) on 3D scatter chart or how to customize point tooltip information?
- Highcharts : How can i move the tooltip to external DIV?
- highcharts show additional custom data in tooltip
- How can I make a graph with highcharts from csv file?
- Highcharts 5 tooltip colour with custom css class
- Highcharts angular.js custom tooltip
- Highcharts scatter plot - make tooltip not follow pointer
- Use of DotNet HighCharts dll to make charts in code behind
- How to edit tooltip in Highcharts C# code
- In Highcharts drilldown charts, Custom Formatting of X-Axis label displays the label with underline even in the last level
- how to use highcharts tooltip formatter in python code
- Add a custom text tooltip that differs from point to point in Highcharts
- Highcharts custom tooltip positioner
- How can I make milestone lines with a GANTT chart using the highcharts library?
- Display custom tooltip on highcharts legend
- Make the tooltip in StockCharts behave the same as in HighCharts
- How can I inspect the Highcharts tooltip in the Chrome inspector?
- Highcharts custom tooltip
- Add custom data on tooltip of Highcharts donut graph
- Highcharts donut tooltip formatting using drilldown data
More Query from same tag
- HighStock datagrouping approximation functions
- Java Script Custom High Chart method
- How to use Highchart formatter in rails?
- Disable rCharts animations
- HighCharts unable to use data attribute
- How to change default line color in highchart stock GUI tools?
- Highcharts Timeline Renaming Series Labels
- how to add dynamic series in highcharts
- Highmaps from sharepoint data
- how to load JSON for this highchart - django app
- How to provide additional arguments to custom symbol renderer in Highcharts?
- Sankey: Show dynamically text on x-axis
- How to make a rendered label in Highcharts always visible and still relative to the point clicked or hovered over
- Highcharts update graph from array data
- Change Higcharts Tooltip value
- how to add highcharts in Datatables child row , from google sheets?
- How to change the series color and mark after I draw the line chart in highcharts?Does it has databound event?
- highcharts render black on ajax refresh
- How to position Highcharts tooltip on top of bar or at 0 line of Y-axis for negative value
- How to style navigator dragging handles , Highstock
- onclick trigger resize, highcharts
- Highchart-graph does not appear in internet explorer
- Highchart yAxis opposite is not working in type datetime
- How to make a Highcharts semi-circle donut chart using Hightchart-ng
- Issue with npm and Highcharts
- Forcing two xAxis to be the same in Highcharts
- Highchart Pie Chart not working properly with series
- I want to add a loading spinner or add some dialog until highcharts get loaded and should close after chart is loaded in react typescript?
- How to add value in the tooltip in graph Highcharts?
- How to invoke an controller action in ember.js