score:1
you can fudge it with the x axis label's x
property.
example:
[[update after comments:
if you mean that you want the data points to also line up 'between', then there isn't a good easy way.
my approach would be
1) make sure there is only one data point per axis tick, ideally
2) adjust the x value of the data point to push it to the right in a way that corresponds with the label offset
3) adjust tooltip formatters to correct the date for display
or, 4) just go with categories
however, if you can explain why you want to do this, what effect you're going for, perhaps there's more that can be done.
{{further updates:
after playing around a little more, i found another way to fudge the data point placement, though i am unclear whether you need that.
example here:
it uses the pointplacement
property.
the catch is that the pointplacement property doesn't work if there is not a columns series present with as many data points as the line series, it seems.
so this method adds and hidden dummy column series in order to make the pointplacement
property affect the line series.
not elegant, but it beats having to adjust the data values and then re-adjust them in the formatter.
Source: stackoverflow.com
Related Query
- Highstocks - Use tickmarkPlacement "between" on datetime Axis (no categories)
- Highstocks - Place a line between columns when using datetime axis
- highchart axis datetime + categories
- highchart place x-axis labels in between ticks on a datetime axis
- Highcharts Area graph, use 2 fill colors above / below X axis
- Highcharts - remove times between dates on a datetime xaxis type
- How to show all values at datetime axis in highcharts?
- Highcharts - with datetime axis labels overlap
- Highcharts chart with 'datetime' xAxis - use categories on drilldown
- Highcharts use series labels as x-axis categories
- How to add space between chart and axis in highcharts
- How to use highstocks navigator on a highchart
- Highcharts label format with tickPositioner in a datetime x Axis
- last label in x axis with datetime format not coming in highchart
- Using PhantomJS to create HighCharts grahps server side for use in PDF creation (PHP) - results in exit code 11 from PHPs exec();
- How to show only specific x-axis values on datetime axis in Highcharts
- Changing X axis type from category to datetime on drilldown
- Highcharts.js DateTime on x axis coming from JSON only displays number
- HighCharts scatter plot with Datetime on X Axis not plotting values correctly
- How can I force ticks/grid lines on a Highcharts datetime X axis to arbitrarily line up with data points?
- R Highchart // grouped categories in x axis
- HighCharts - Show categories in x axis intead of the value of x in Bubble Chart
- Highcharts: Make the Axis continue to current datetime
- How To Show All Data Labels For Datetime Axis In Highcharts
- Highstocks chart multiple pane width and y axis alignment issue
- Negative value for categories axis in highcharts
- Use of DotNet HighCharts dll to make charts in code behind
- Highcharts Datetime axis issue
- Highchart: Tickmark placement for datetime axis
- Highcharts datetime axis overlap with a long time series
More Query from same tag
- React plot options onclick event
- Highcharts Javascript - Synchronize Chart and Table not working - Cant read property cell of undefined
- Highcharts low performance when adding yAxis dynamically
- Data won't echo on Highcharts
- How do you process large amounts of data without using a database?
- Highcharts Y axis needs to be on the X axis
- Highcharts Annotation Position/Top Is Incorrect Upon Initial Rendering
- Plot one point on Highcharts JS graph according to x-axis?
- HighCharts: context menu hidden for small charts
- Highcharts tooltip get position and change class
- Highcharts treemap data labels overflow
- how to add an color picker control to highchart for changing the color of series by user
- How to create seriesfor Highcharts from JSON data to use
- Javascript Complex graph
- how can I put shadow and gradient effects on solid gauge in hightcharts?
- HighCharts - Spline Chart Legend Color
- How to remove Highcharts grid end lines on x and y axis?
- HighCharts (Stock) Styling Issues (Mobile and Date Selector)
- Adding Total Column to Highcharts column range
- highstock(highchart) livedata can have move animation point?
- Resizing Highchart based on window size
- HighCharts.js - Trying to import highstock
- Get Highchart Styled Mode via npm
- highcharts customize legend for different series
- Creating large heatmap using highcharts freezes browser
- how to COUNT explode imploding data with comma?
- Change Highcharts sparklines marker colours
- Highcharts add legend on export
- How to plot against time on x-axis Highcharts.js
- Can not access Highcharts chart from container, so I can't change data in a chart dynamically