score:4
This is possible,
you can use
xAxis.labels.formatter
this is for formatting labels, you have to maintain a {realaxis:{label:labelValue},realaxis:{label:labelValue} ...} Object for formatting labels
set the
xAxis.tickInterval
for number of calls for label formatting function you have provided
score:2
If you want to show the ticks as needed, what you could do is implement a custom formatter. Basically, you would only plot a point if the value was the same as in your data:
var data = []; //assuming this is your array of timestamps
var chart = new Highcharts.chart({
//other options
xAxis: {
labels: {
formatter: function () {
//some cleanup may be required, but this is the general form of the solution
if (this.value in data) {
return this.value;
}
}
}
}
});
score:2
I think you can not do that. Highcharts only draws the ticks at some regular interval. If they don't appear in regular interval then they are not ticks any more. You can try setting minorTickInterval, but still it all depends on your data, where they appear on the timeline.
Source: stackoverflow.com
Related Query
- Highcharts, Show specific tick on a datetime xaxis type
- HighCharts show datetime format on xAxis
- Highcharts - remove times between dates on a datetime xaxis type
- How to show only specific x-axis values on datetime axis in Highcharts
- highcharts xaxis datetime label with minor tick
- HighCharts xAxis show on 0 line with tick marks between all columns
- label is not show at proper position at xAxis with dattime type into highcharts
- customize highcharts tooltip to show datetime
- HighCharts - show last labels in xAxis
- Show specific series values in the stack label using highcharts
- Highcharts - show every month on datetime x-axis when the parent container is small
- Wrong alignment in highcharts datetime points with xaxis
- Show only first and last xAxis label in Highcharts
- HighCharts datetime xAxis without missing values (weekends)
- How to start and end a dynamically generetad datetime highchart's xAxis on the first and last tick
- Only 3 steps on xAxis with type xAxis in Highcharts
- How To Show All Data Labels For Datetime Axis In Highcharts
- Dynamically change datetime format of xAxis Tick Label in highchart
- Strange behavior with highcharts when using "column" type and multiple datetime series
- How to Display Month and Year in xAxis of Highcharts datetime graph
- How to show xAxis label in tooltip in a Highcharts area chart?
- How to specify specific tick positions for highcharts when loading dynamic data?
- HighCharts - show xaxis titles
- Highcharts - Xaxis should show only days and month, hide milliseconds
- highcharts series type 'flags' do not show point out of series
- In highchart of column type and xaxis of datetime type showing more ticks for month data
- Highcharts xAxis datetime from start
- pointPlacement in Highcharts Heatmap with datetime xAxis
- How to show specific point to show specific information in HighCharts
- Show specific month when zoomed on a quarterly chart using highcharts
More Query from same tag
- Highcharts: how to dynamically set up max value of yAxis, based on the displayed data?
- Using Viewmodel and datepicker with Dotnet Highchart in MVC
- Fill area beneath scatter points with color in Highcharts 3d scatter plot
- How do I stop Highcharts creating a new gridline at the extremities of the chart unless a data point exceeds the min/max gridline?
- Highcharts: Symbol markers for dynamic data?
- which is best to use Fusionchart or Highcharts?
- HighCharts Pattern Fill striped
- Highcharts doesn't resize properly once expanded
- Change yAxis values in Compare multiple series highstock for showing point value instead of percentage change value
- highcharts data labels overlaps the plotlines value
- How to load 60,000 data points without datagrouping in highstock chart?
- Highcharts chart option backgroundColor:'transparent' showing black on IE 8
- Highstock padding/margin with range selector
- Highstock.js question: how to draw VWAP indicator only for current day data?
- Change color of highcharter r choropleth map
- Dynamic highcharts pie chart with drilldown
- 3D Column chart not working with sliders in asp .net project
- how to remove extra data point from x-axis in highcharts
- Cannot Remove Credits (Link) in HighChart's PieChar
- How to make the highchart fully occupied with the div that had set?
- Highcharts 3D funnel Array format
- Highcharts add a Mean line to BoxPlot chart
- HighCharts Month/multiple data array error
- How to force tooltip to show in multiple graphs in highcharts with Vue 3?
- javascript slider like "highstock slider"
- High Chart to Image
- Highcharts - mouse event in chart - e.Offset solution across browsers
- Highcharts: grouped columns with percentages
- How to start and end a dynamically generetad datetime highchart's xAxis on the first and last tick
- I had follow someone code samples and try apply to my HighChart program but I can't get it work at all