score:5
Accepted answer
use the point.low
and point.high
values
tooltip: {
formatter: function () {
console.log(this);
return '<b>' + this.x + '</b> started at <b>' + highcharts.dateformat('%h:%m', this.point.low) + '</b> and ended at <b>' + highcharts.dateformat('%h:%m', this.point.high) + '</b>';
}
},
score:1
this will emulate the default highcharts style, but with correctly formatted time.
tooltip: {
formatter: function () {
var low = highcharts.dateformat('%h:%m', this.point.low);
var high = highcharts.dateformat('%h:%m', this.point.high);
return '<span style="font-size: 10px">' + this.point.key + '</span><br/><span style="color:' + this.point.color + '">\u25cf</span> ' + this.series.name + ': <b>' + low + ' - ' + high + '</b><br/>';
}
}
Source: stackoverflow.com
Related Query
- High chart - Column Range Chart with Time range. How to get tooltip as Start and End time
- how to make chart real time with 2 line and get data from php with highcharts
- How to create a column range chart in Highcharts using range and navigator functions?
- how to assign date time to highchart with intervals and date start
- How to show open, close, high and low in tooltip when the chart type is 'line' in highstocks?
- how can we draw column chart with stacked column chart in a single high chart?
- Line and column combo chart with multiple columns for each category, how to position line marker for each category on a specific column?
- how to get each key and value from object in javascript for high chart graph
- High chart how to process config if get config from DB and it contianed a function?
- How to make Column type series Secondary yAxis values dynamic and not always start with 0?
- hightchart line and column chart , line not start with start of chart
- How to use the tooltip formatter and still display chart color (like it does by default)?
- How to show a column with the value Zero in Column chart in Highcharts?
- How to create a new Highstock chart with new Highchart and not jquery?
- How do I get remove of 'data table' option from High chart export
- How do I reduce the space between title and chart of a High Chart?
- Highcharts 3.0, area chart with stacked and unstacked series - how to fix?
- How to use add series and update methods in the high chart wrapper for angular?
- How to dynamically add point placement and point padding in fixed column chart (highcharts)
- how to have a chart with no spline and no interpolation in Highcharts?
- How to Build a Column Chart in Highcharts with Data Entered Dynamically Within a CMS
- Tooltip in chart with line- and scatter plot in highcharts 3.0.7
- Highchart / Highstock stack column chart show one series's tooltip at a time
- Activity gauge High Chart with Range option
- How to change tooltip of a column chart programmatically in highchart
- How to display all dates with a given Start Date and End Date even if there is no data?
- Stacked column chart with irregular date time interval
- How to save and restore and Highstock chart with indicators?
- How to have a highcharts chart in a container of a fixed width, and with a horizontal scrollbar?
- How to create chart with highchart in which bar doesn't start from 0 in y axis?
More Query from same tag
- Highcharts: Trigger showing tooltip programatically with selenium
- Highcharts venn diagram is missing intersections
- Plotting JSON data with angular2-highchart
- Highchart: add own calculation to tooltip
- Highcharts - update column graph with setData() not working
- Show name of employers instead time in highcharts
- Highcharts - Is it possible to display the my own text on the data-labels of line chart?
- Fill area beneath scatter points with color in Highcharts 3d scatter plot
- Highcharts how to pass data from server into chart
- plotting irregular time data from CSV with highcharts
- How to change color of lable (name) in a highcharts series?
- highstock series.stochastic "k d" in different colors
- JSON-Object as string: Use of concat(), eval() and/or JSON.parse()?
- stop data being added with radio button highchart
- Modify data through chart manipulation
- react-highcharts: canvas size changes when changing tabs
- Highmaps drillup: Error occurs when setting state in React
- Highchart polar, align left x labels - interrupt the labels distance
- Ionic app doesn't show custom buttons from Highchart library
- Hours: Mintues: Seconds in HighCharts Bargraph
- Highcharts load series data problem in Angular
- How to draw vertical lines on Highcharts graph?
- Highcharts Export server - Can't generate image using --options
- import data from localhost(phpmyadmin) to a web page"Highcharts"(as a project in phpmyadmin)
- Drawing a small vertical line on top of chart using High charts by specifying end coordinates
- How to change aspect ratio and remove spacing in Highchart's gauge arc chart
- How do you call a programmer-defined function in javascript in an android webview?
- Highcharts Treemap with multiple series: getting them all to show in legend
- Highcharts - gap between series in stacked area chart
- How to add trend line to high charts