score:1
From docs:
HTML in Highcharts
Texts and labels in Highcharts are given in HTML, but as the HTML is parsed and rendered in SVG, only a subset is supported. The following tags are supported:
<b>
,<strong>
,<i>
,<em>
,<br/>
,<span>
. Spans can be styled with a style attribute, but only text-related CSS that is shared with SVG is handled.Most places where text is handled in Highcharts, it is also followed by an option called useHTML. When this is true, the text is laid out as HTML on top of the chart. This allows for full HTML support and can be a good idea if you want to add images in your labels, tables in your tooltip etc.
So, you can use HTML tags in categories array, for example:
xAxis: {
...,
categories: [
'<span style="font-size: 16px; color: red;">-22.5%</span><br>CLIENT<br>CALLS',
...
]
}
Live demo: http://jsfiddle.net/BlackLabel/kLu7rtea/
Docs: https://www.highcharts.com/docs/chart-concepts/labels-and-string-formatting
API Reference:
Source: stackoverflow.com
Related Query
- Highcharts Column chart with drilldown, remove hyperlink like formatting from x-axis labels
- Highcharts multiple column chart with drilldown, correct formatting of drilldown axes
- Highcharts column chart formatting
- Highcharts Column chart Series data formatting change
- How to create a column range chart in Highcharts using range and navigator functions?
- Displaying percentage in Y-axis of Highcharts column chart
- Highcharts : Change opacity of a column chart
- Number Formatting at Highcharts Chart Values?
- highcharts jquery dynamic change chart type column to bar
- Highcharts - column chart redraw animation
- Hide 0 values in Stacked Column Chart in Highcharts
- Make Highcharts border color match background color on column chart
- Color each point individually in column chart highcharts
- Highcharts Grouped Column Chart with Multiple Groups?
- highcharts - precision for stacked column chart data labels
- Highcharts - Column chart customization
- Highcharts column + line combination chart with multiple series. Issue aligning line over the column
- I want to add a line to each column in a Highcharts column chart
- How to format my json data for stack column chart in HighCharts
- HighCharts Stock Chart error code 18
- Highcharts Tooltip At Column Chart
- How to add a horizontal line in Column bar chart in Highcharts plugin?
- Change legend symbol in Column Chart in highcharts
- HighCharts Data Structure - Multiple Independent Series, Stacked Column Chart
- How to Build a Column Chart in Highcharts with Data Entered Dynamically Within a CMS
- HighCharts pointPlacement option not working in a single column chart
- Drilldown for grouped column chart in highcharts
- Highcharts - column chart with drilldown to waterfall
- Legend for each point in column chart in highcharts
- Highcharts - Column chart with empty columns for date in x-axis
More Query from same tag
- Highcharts: change timeUnit thresholds
- Highcharts: Multiple Columnrange with point inside of each of them
- In highcharts, is it possible get the exact position of x axis labels for overlap detection purpose?
- text-decoration:line-through; in SVG rendered by Highcharts
- How to achieve Multiple drill down using the Axis Labels
- drawing two spline series with different number of values
- $scope.$watch ... make it return a function on another scope?
- Line chart series drilldown to another linechart series
- Highstock chart - Dates on same x axis and Crazy Tooltip
- Applying a custom colors on HighCharts Line?
- Highmaps get country name on click when country has no data
- How does HttpContext.Current.Response.Binarywrite work?
- Convert DataTable to array for highcharts
- In highcharts,tool-tip does not move when chart has high data unlike when it has low data
- In Highcharts, in 3D mode, is it posible to make right hand axis not pop out?
- Need to join x axis and y axis label highcharts
- Highcharts create space for negative value
- Click on the chart to zoom chart
- highcharts-ng: Cannot read property 'setExtremes' of undefined
- Highcharts Maps - Displaying data on Highmaps
- Highcharts downsampling - CSV
- Line not rendered with data in variable but rendering with array data
- Highcharts: line graph with many datapoints
- giving input to highchart using JSON
- Additive Color in Highcharts
- How To Call A Function To Make A Graph Using HighCharts in PHP
- Create highcharts chart using AJAX/JSON
- Highcharts Modify Tooltip for One Series
- Highcharts - Stacked column data series
- Adding different y-axis name to all different chart in synchronous chart Highchart