score:2
Accepted answer
Ok the solution wasn't very hard after all:
Changed:
labels: {
formatter: function () {
var date = new Date(new Date().getTime() - (this.value * 60 * 60 * 1000));
return date.toDateFormat();
}
}
And in the Server code return the hours instead of days and it works.
Source: stackoverflow.com
Related Query
- HighCharts - Creating a Scatter with datetime
- HighCharts scatter plot with Datetime on X Axis not plotting values correctly
- Highcharts scatter chart with a name per point
- highcharts scatter with 4 quadrants
- Highcharts - with datetime axis labels overlap
- Highcharts scatter plot with lots of data points running really slow
- Highcharts - Scatter chart with a line connecting the dots in the series
- Highcharts label format with tickPositioner in a datetime x Axis
- Creating a line graph with highcharts and data in an external csv
- Highcharts connecting scatter chart and pie chart with single legend
- Wrong alignment in highcharts datetime points with xaxis
- Highcharts scatter plot with variable line width
- Highcharts - Global configuration with common code and unique data & Headings
- creating a bar chart using Highcharts with React - getting an error that rendering div isn't found
- Getting "Highcharts error #17" when creating histogram (using Highcharts with Angular 6)
- How can I force ticks/grid lines on a Highcharts datetime X axis to arbitrarily line up with data points?
- Custom Marker (Rectangle with rounded corner) for highcharts scatter graph
- Highcharts changing tooltip datetime with formatter
- Highcharts : How do I keep the marker formatting and make the click event fire with a 5K+ point scatter plot?
- Tooltip in chart with line- and scatter plot in highcharts 3.0.7
- Highcharts - How to make a scatter plot with multiple series from HTML table
- How to align Highcharts datetime x-axis with data I pass to it?
- Display multiple points with exact same value in scatter HighCharts
- Creating Highcharts with Angular using Highcharts >= 5.0.0 and highcharts-ng >= 1.0.0 using a ChartFactory
- Highcharts datetime line travels backwards with unsorted data
- Highcharts - creating chart with same scale axis
- Is a Highcharts heatmap possible with a datetime axis, in a single row?
- Highcharts datetime axis overlap with a long time series
- Highcharts - TickInterval with datetime values
- Strange behavior with highcharts when using "column" type and multiple datetime series
More Query from same tag
- HighCharts and PHP json_encode. Data from MySQL. No data on chart
- I can't use gauge-solid and spline chart at the same time by using HighCharts
- How to draw two lines in HighStocks using candlestick with intraday
- highstock. Don't update navigator series visibility
- Convert pandas json for highstock data format in a angularjs controller
- How to remove vertical plotlines on highcharts
- Highcharts Omits X Axis Label
- HighCharts starts zooming when scrolling in a 3D chart
- I can't make Highcharts phantomJs export server work
- HighCharts selects the wrong data point
- Highcharts add&remove data to series in stacked-column chart
- Get rid of the name against the series which is already showing in legends
- Highcharts Sankey customization
- Adding Escaped Quotes to Highcharts label
- High charts Donut Chart not rendering
- unequal intervals highchart gauges
- how to hide/show scrollbar and range selector of highcharts on button click?
- How to correctly create function for formatter on PHP in Yii2 Highcharts extension
- change the Top and Left in highcharts
- Highcharts are not redraw
- Highchart Data from HTML table with <input> values
- How to add fullscreen event to a Highchart?
- How to set the default display block position on the time line of highstock charts?
- Highcharts / Highstock Invalid Date Issue
- insert block of text after chart
- Show tootip and select pie slice on legend click of pie chart in HighCharts
- How to make rangeSelector do dataGrouping of multiple series
- Selection change in Tree Map in High Chart
- How to hide a highchars when there is no data to show?
- Draw sankey when multiple entries have the same name