score:22
Accepted answer
for example using drilldown
and drillup
events (api), a couple of variables and chart.settitle
(api). like this:
var defaulttitle = "basic drilldown";
var drilldowntitle = "more about ";
var chart = new highcharts.chart({
chart: {
type: 'column',
renderto: 'container',
events: {
drilldown: function(e) {
chart.settitle({ text: drilldowntitle + e.point.name });
},
drillup: function(e) {
chart.settitle({ text: defaulttitle });
}
}
},
title: {
text: defaulttitle
},
// ... more options
});
Source: stackoverflow.com
Related Query
- Change title when drilldown in Highcharts
- Programmatically change a chart title in highcharts
- Change HighCharts axis title
- Javascript Highcharts v3.0.5 - How to hide Y Axis Title when using multiple Y Axis
- How to change axis label size when exporting in Highcharts / Highstock
- Change HighCharts axis title in 2.1.4
- Highcharts drilldown - when useing setData chart doesn't stay drilled down
- Highcharts - show at least 5 horizontal grid lines, even when value doesn't change
- Get name of clicked point in Highcharts when the point has drilldown
- Highcharts xAxis drilldown dont change correctly
- Highcharts exporting.js change menu hover title text
- Highcharts - How do I dynamically change Marker radius when zooming?
- Multi-Line Title is not working when we export to PNG using CanVG - Highcharts
- Highcharts --- Change sliced color on drilldown pie chart
- HighCharts - Dynamically Change Axis Title Color
- Highcharts: Change the Legend TItle on drilldown
- highcharts change rendered image source on click
- Drilldown and title update in Highcharts pie
- Change dataLabels font size when zooming in Highcharts bubble graph
- Highcharts drilldown not working when module is imported react
- Change xAxis and yAxis title of drilldown chart after entering into second series
- change datalabels color in a HighCharts chart when hovering without updating the series
- highcharts change series color when data is dynamically inserted
- Change Style of Title in HighCharts in ActionResult
- Display percentage change in the title of Highcharts timeseries
- Highcharts legends are overlapping when i change language to arabic
- Highcharts : Change color of series when hovering other series
- HighCharts title styles i.e textDecoration property not applying when we export the chart using canvg
- Highcharts - Change value of text box when drilling down through chart
- Update chart title when drilling up and down in highcharts
More Query from same tag
- Highchart multicolour areaspline
- Highchart - Angular 9: How to export all charts into single pdf?
- Highcharts: Zebra color chart background
- Highchart chart synchronisation showing console error while using highstock.js
- Highstock not rendering properly; displays empty series until zooming in
- How to add text labels to a numerical x axis in Highcharts
- Highcharts display scrollbar when zooming
- How to combine two Highcharts chart types?
- get Tooltip text/innerHTML on click
- Maximum number of datapoints allowed in a highcharts/stock series data hash
- Linking highcharts text renderer to javascript function
- highchart - how to deal with flags overlapping problem?
- Highcharts - stop Y axis value change on redraw
- set left and right margin in highchart
- How to increase series data label in highcharts packed bubble
- change data on chart by selecting the year in dropdowns
- Adding a pattern fill to a black and white column graph in Highcharter
- How to remove plot gridlines using Highcharts in R
- HighCharts/HighStock memory leak with addPoints() in Chrome only
- JSFiddle 'Please use Post Requst' error
- Highcharts.js: how can stacked area graph animations be smooth?
- Is there any option in Highcharts for simplifyng a line graph?
- Applying custom style on ticks of Highchart
- Show datalabels for spiderweb only when hovered over the line or the legend?
- Saiku query fetch
- Highcharts: How to make line touch left + right sides
- How to add tooltip on the render image in highcharts?
- designing web app using nodeJS and HighStocks (or Google Annotation Time Line)
- Highcharts heatmap column width based on content size
- Links created in HighCharts are preventing their default bindings