score:0
Accepted answer
This seems to do the trick ...
xAxis: {
tickInterval: 23,
tickmarkPlacement: 'on',
labels: {
style: {
fontSize: '8px',
fontFamily: 'Verdana, sans-serif'
},
formatter: function() {
if (this.isFirst){
return 0;
} else {
return (this.value / 23);
}
}
},
},
score:2
The categories are numbered from 0 to length of array. Setting 46 as tickInterval, means that you select first index and 46 index of categories array. So better is remove categories, and use numbers.
Source: stackoverflow.com
Related Query
- tickInterval & categories. Only first category shows
- Highcharts tickinterval set to one minute shows only one date
- Highcharts X axis categories name gets only shows 1 character
- highcharts tooltip formatter only shows first 8 characters in this.point.name
- Highcharts dynamic set category update the chart but shows only points but not lines
- Show only first and last xAxis label in Highcharts
- $.each only shows one series highcharts
- how to take only categories for x-axis and remove unwanted scaling in Highstock chart
- data table to show only category totals
- Why does this Highcharts graph only show tooltip for the first and last nodes?
- How to adjust the position of the first category name on the xAxis?
- Chart data of object gets overwritten, but only the first object that is interacted with is affected
- Highcharts column only show one category
- Highcharts : how to set first category on Y-axis in a line chart?
- Same Highchart in different tabs not loading - Only first Tab loading
- Strange character in the Highstock source code
- tool that shows javascript errors in code
- Highchart first category label is not wrapping
- How to show only the last 100 candlesticks or hide the first 50 candlesticks in Highcharts Stock Chart?
- Highcharts barchart - legend is only hiding first and last series, others stay visible on X-axis
- Only first N datapoints should be used
- Only connect points within the same category (Highcharts)
- Highcharts spiderweb showing wrong categories at first position
- Show only the first and last y-axis label on a graph highcharts
- DotNetHighcharts - How to only use first column of 2d array as Data
- How to render a bar chart with different series with only one entry per category in HighCharts
- How to retrieve parent category when using grouped categories in Highcharts?
- Issue with json to Highstocks series data, only navigator shows data at some zoom levels only
- Highcharts not creating correct amount of labels (steps) in xAxis only first and last labels
- HIGHCHARTS - Given a series with UNIX stamps and values pairs for the data, how do I show only the date for the first and last point on xAxis?
More Query from same tag
- How to show a column with the value Zero in Bar chart in Highcharts?
- HighChart Tooltip word-break issue
- Highchart gauge: How to change tick position
- Jquery: Dynamic binding events on a Highcharts object
- How to plot a line and column chart in react-highstock?
- How to format data labels with Jquery Highcharttable column charts
- Dates instead of values on Highchart labels in graph with multiple axis
- Highcharts, get point index when shared tooltip is shows/hides
- Highlighting Highcharts column
- General Drawing in Highcharts with Angular 6
- Highcharts Line Chart Time Durations
- Highchart with external CSV (in external domain)
- How do I change one Directive when I click another Directive?
- Having Several Units on Highcharts Spiderweb
- Highcharts Highmaps - hover / click external list and show on map
- R Highcharter: On x-axis, Date is not showing correctly when dataframe has only one result
- Creating dynamic Highcharts based on an array
- Highcharts how to use a percentage area with time
- Rendering pie chart using xtype and Ext.create
- Highcharts : display a second series under the X-Axis
- How to make highcharts tooltip show outside of the pie graph?
- highcharts is not respecting my x-axis' date interval
- Highcharts graph default series fillColor overrides the state fillColors (jsfiddle included)
- Group SQL data by JSON arrays
- I am getting error on highcharts. like "ERROR TypeError: Cannot read property 'series' of undefined"
- Highcharts: adding line to graph removes labels from X axis
- Highcharts : Change spline chart color dynamically
- how to make barchart from date 1 until 31 with different value?
- Highchart legend symbol
- How do I update an external DIV when a user swipes the finger along an Highcharts Area graph?