score:44
you need to disable crop and overflow, see: http://jsfiddle.net/nkxrk/4/
plotoptions: {
column: {
datalabels: {
enabled: true,
crop: false,
overflow: 'none'
}
}
},
score:2
set the data labels in your series call:
series:[{
name:"odometer",
data:[{"y":94.98},{"y":182.96},{"y":160.97},{"y":18.00},{"y":117.97},{"y":6.00},{"y":127.97}],
datalabels: {
enabled: true,
color: '#000000',
backgroundcolor: '#ffffff',
borderwidth: '1',
align: 'center',
x: 0,
y: 0,
rotation: 0,
}
}]
then if your labels still overlap the columns a bit (column 2 in fiddle above), set your yaxis max a bit higher:
yaxis:{ max: 250 },
score:2
the crop&overflow/maxpadding options didn't work for me, this is what did the job for me to align it properly:
plotoptions: {
column: {
datalabels: {
enabled: true,
y: -20,
verticalalign: 'top'
}
}
}
score:3
you can also increase maxpadding parameter http://jsfiddle.net/nkxrk/3/
maxpadding:0.1
score:4
this seems to be easier:
datalabels: {
enabled: true,
inside: false,
...
}
Source: stackoverflow.com
Related Query
- Always display data labels above columns in HighCharts
- Highcharts Gantt - how to force data labels to always be above milestones?
- Highcharts data labels overlapping columns
- Highcharts Pie doesn't display the labels (for some data series)
- Highcharts display label for pie chart using html table as data source
- Highcharts - Cannot display data labels on a spline chart
- Highcharts : Put data labels legend inside columns
- how to display data labels / stacklabels for a grouped highhcarts- Highcharts
- Highcharts : How do i align data labels above the axis in column chart?
- How to display tooltip data below x-axis category labels using Highcharts
- How to display full text in data labels in sunburst highcharts
- Highcharts : Display static Y axis labels from array when series data is null , else auto generated label
- How to display No Data Available Message in highcharts
- Highcharts doesn't display series with lots of data points
- Always showing tooltip on all columns in Highcharts
- Highcharts not displaying data labels for Pie chart in arabic
- Highcharts : Display the labels (min, max, median etc.) in boxplot
- Display legend items in two columns highcharts
- Enable or disable data labels shown in pie charts in Highcharts on click of a button
- Highcharts stacked bar chart hide data labels not to overlap
- Ajax and Highcharts - Display 'loading' until data is retrieved, then populate chart
- Highcharts v3.0.1 problems with rotating data labels in IE8 and jQuery v1.7.1
- Highcharts - Global configuration with common code and unique data & Headings
- highcharts data labels overlaps the plotlines value
- Highcharts - CUSTOM DATA LABELS in line series, are disappearing on window resize
- highcharts - precision for stacked column chart data labels
- Highcharts - Display legend for Pie chart in two columns
- Highcharts shows data but can't display chart
- Using Highcharts display donut hightchart having dynamic data
- Highcharts Custom display of tooltips, based on data series values
More Query from same tag
- How to include events: {} property of a custom highchart data into highcharts-vue
- Is there a way to config high chart Y Axis label to appear larger?
- custom GeoJSON map with pie in highcharts Map
- Highcharts spider chart padding issue
- Activity gauge High Chart with Gradient
- How to have a highcharts chart in a container of a fixed width, and with a horizontal scrollbar?
- Dynamically change center of a Highchart pie?
- Highcharts: why does redrawing change the radius of the selected point?
- HighStock scrollbar customization
- Format y-axis values using numeral JSHighCharts
- How to check if Highcharts y-axis exists
- MACD + High chart Graph plotting issue
- Highcharts change plotBackgroundColor dynamically
- How to change HighCharts tooltop to show more details
- Possible to set dataLabels to display xAxis data instead of yAxis data in HighCharts?
- highcharts-react-native not working in iOS binary (.ipa)
- how to extract data to array value
- Is it possible to have the line chart data points in highcharts to be represented as a rectangle instead of a circle?
- How to use highcharts in reactjs with fetched data from API
- highchart with dual axis breakpoint and drag point
- Trying to get highchart example working on local machine
- how to show labels in right side in chart?
- Charts on rails 3 using highcharts
- Highcharts: legend of stacked chart
- Highchairs how to prepend HTML to legend
- Highstock dataGrouping option
- Highcharts and Extjs 4
- Highcharts 3D Pie
- How to calculate the height of bar chart
- Want to fetch mysql Field record in highchart tooltip