score:1
Accepted answer
you need to enable usehtml for the xaxis labels.
xaxis: {
type:"category",
crosshair: true,
labels: {
usehtml: true
}
},
and then you can use fontawesome icons in the category names or replace the category names by icons.
data: [
['<i class="fa fa-car"></i> car', 10],
['<i class="fa fa-bus"></i> bus', 63],
['<i class="fa fa-truck"></i> truck', 50],
['<i class="fa fa-train"></i> train', 54],
]
Source: stackoverflow.com
Related Query
- How to add font awesome icons on x-axis in highcharts
- How to add space between chart and axis in highcharts
- How to properly align Font Awesome symbols on Highcharts scatter plots?
- How do I put Icons in the y Axis for a Dynamic Highcharts chart?
- how to use Bootstrap font icons on x-axis lables in highcharts
- How do i add mouse wheel code in Angular2 highcharts in typescript
- Highcharts - how to add icons to a label
- How to add title of axis in Highcharts
- How to add text labels to a numerical x axis in Highcharts
- How to add custom icons as markers in Highcharts
- how to set the interval of points on Y - Axis highcharts
- how to add copyright symbol in a highcharts title?
- How replicate the value of Y Axis on both sides of the axis in Highcharts
- How do I add an event listener to a Highcharts object *AFTER* I've created it
- Javascript Highcharts v3.0.5 - How to hide Y Axis Title when using multiple Y Axis
- Highcharts how to change x axis options
- Highcharts - How to start x axis from an arbitrary value
- How to add image in Highcharts Title and subtitle
- How to add Highcharts on UIWebView in iOS?
- how to add annotation text to a Highcharts chart?
- How to change axis label size when exporting in Highcharts / Highstock
- How to add secondary y-axis to highcharts
- How to add a label above each bar in HighCharts
- How to add an item to Highcharts legend?
- How to add new points to highcharts after plotting the first 'n' points?
- How to show only specific x-axis values on datetime axis in Highcharts
- How to hide color axis in heatmaps using highcharts
- How to populate a Highcharts axis with string formatted data from a PHP array
- How to add background colors to category groupings in Highcharts
- HighCharts : How to add or remove "chart context menu" from chart container?
More Query from same tag
- Need stacked column chart with multiple series
- How do I get data from a RESTful API JSON response in React?
- How to give time instead of angle in highcharts?
- How to dynamically add points to a bar/pie chart in a Vue context?
- Drawing a small vertical line on top of chart using High charts by specifying end coordinates
- Highstock range approximation on spline series
- Highcharts : Export multiple charts to pdf in custom layout
- Highcharts multiple data points between xAxis
- Is there a way to add a click event to open a url in a highcharter plot without shiny?
- applying stock chart style in highchart
- HighCharts : How to add or remove "chart context menu" from chart container?
- Highcharts stacked column chart is missing some values?
- Highcharts buggy with more than 999 items in series data?
- highcharts draggable-points conflict between drag and click
- Highcharts value bars with full height background bars
- Create Highchart from the Following Data
- Mult-level Drill Up
- Highcharts stacking bar chart border not displaying on right side
- TypeError: undefined is not a function when using highchart
- Highchart: Datetime X-Axis labels are not showing correctly
- Disable specific labels in Highcharts
- pop up using htmlExpand not working in highcharts
- Audiogram with Highcharts
- Avoid displaying y axis label and points when there is no data: HIghcharts
- Highcharts, change line type if more than one series on the chart
- How to Control Highchart.js Dom Elements Through CSS Rules
- Highcharts - Global configuration with common code and unique data & Headings
- How to get an image watermark in HighCharts charts?
- Highcharts Heatmap xAxis tick alignment
- Periodic events with duration