score:9
Accepted answer
I have found a solution for your problem! Sebastian Bochan gave me some ideas. You need to separate xAxis and set a different type to each one. So, here you have to add your categories as Highcharts's way.
xAxis: [{
id: 0,
type: 'datetime'
},
{
id: 1,
type: 'categories',
categories: data.categories
}
]
Then you have to add this code in your serie to link it with your new Axis.
drilldown: {
series: [{
name: "test",
id: "test",
xAxis: 1, // <--- your desired X axis ID
data: [
[your data]
]
}]
}
Probably you'll see a small difference on bottom chart, but all works for me.
I hope this help to you ;)
score:5
You need to add this to your xAxis
:
labels: {
formatter: function() {
return Highcharts.dateFormat('%a %d %b', this.value);
}
},
Check out the fiddle.
Source: stackoverflow.com
Related Query
- Highcharts chart with 'datetime' xAxis - use categories on drilldown
- Column chart with negative values and categories on xAxis in HighCharts
- HighCharts basic bar chart provide the xAxis categories with Series
- Highcharts xAxis with datetime not showing any chart
- Highcharts two datetime xAxis chart with same ticks interval
- Highcharts : Chart with drilldown how to obtain click event of drill up button
- Wrong alignment in highcharts datetime points with xaxis
- Highcharts multiple column chart with drilldown, correct formatting of drilldown axes
- Highcharts - column chart with drilldown to waterfall
- How to use Highcharts React to create chart with multiple lines for same XAxis?
- Returning JSON file with cURL to use data in a HighCharts stock chart
- Show/Update Separate Bar graphs with Drilldown Pie chart of Highcharts
- Highcharts use dateTime for chart generation
- highcharts xaxis datetime label with minor tick
- Highcharts drilldown to pie chart - Clicking on axis label with multiple series causes pie charts to overlap
- pointPlacement in Highcharts Heatmap with datetime xAxis
- Creating a drilldown chart with Highcharts that contain double(multiple) columns for each column (see example for better explanation)
- How to make a HighCharts drilldown column/bar chart that does not hide the non-drilldown categories
- HighCharts - timeseries chart - irregular datetime interval on xAxis
- Highcharts custom attribute with datetime line chart
- Highcharts AreaRange Chart issues with xAxis and last data point label
- Highcharts cloud issue with data source when duplicating chart
- Export Highcharts polar chart csv with categories in place of polar coordinates
- Highcharts xrange chart is not respecting datetime xAxis min and max values - shows space on both sides
- trouble with categories on highcharts column chart
- Highcharts - Drilldown with setSize causes chart corruption
- Dynamic highcharts pie chart with drilldown
- Highcharts piechart with slice animation and drilldown on click together throws exception in chart and breaks the pie chart
- How to use trellis chart with stacked column in Angular 10 using Highcharts
- Drilldown in grouped column chart with categories
More Query from same tag
- Highcharts: Rotate VU dials
- How do I change RRDTool graphs?
- call function onclick highchart
- How can I create Highcharts Arearange graph from CSV file?
- How to configure date in Grantt chart of (Highcharts) so it accept date in string without javascript date?
- highcharter hcaes "group" usage while plotting large amounts of data with highchart2()
- How to use Highcharts in typescript and react
- how to add value to the label in xAxis tooltipe?
- How is the x-axis data determined in this chart
- Plotting data and time zones on highcharts react
- R Highcharter - firePointEvent When Action Button is Clicked
- Highchart treemap legends do not show specific legend
- Displaying or aligning to End of Month, in X-Axis
- Highchart Tool-tio show CSV data
- Adding Highchartsevent after creation
- Symbol-outline with pie chart -or- custom legend symbols
- Highcharts tooltip bug with stacked column chart
- Date format issue in highcharts
- how to aggregate data from mongodb collection to highstock series data format
- Highcharts: Is it possible to plot sunburst chart with no data values?
- Highcharts - Add bar graph to a pie chart
- highcharts and different yAxis for different categories
- Putting the data in the designated date in highcharts
- Set max & min xAxis value for scrolling
- HIghcharts Map from GeoJSON Data Showing Up Too Small
- export.highcharts.com bug? Changing order of series.index values not reflected in exported pics
- Highcharts: backgroundColour "layers"?
- How to add dotted lines between two interval of x-axis in hightcharts
- Add element on certain columns in highcharts
- How to make Highchart fill the whole bootstrap window?