score:0
one way to add labels for the inner grid lines would be to create a dummy series type scatter. this allows you to aim at a precise point on the graph and include only a datalabel for that series which will display the value.
{
type: 'scatter',
data: [1, 50, 100, 200],
color: 'transparent',
datalabels: {
enabled: true
}
}
now you have to set the added dummy scatter series to be invisible and not respond to mouse movement and not show the tooltip.
plotoptions: {
series: {
colorbypoint: false
},
scatter: {
states:{
inactive:{
enabled: false
}
},
datalabels:{
enabled: true,
padding: 1,
allowoverlap: true,
crop: false,
overflow: 'allow',
},
enablemousetracking: false,
showinlegend: false
},
another way, if you are curious or if the above doesn't satisfy you, is to render the label. https://api.highcharts.com/class-reference/highcharts.svgrenderer#label
to select the exactly coordinates of a point, you can use x, y notation.
data: [{x:0, y:1 }, {x:1, y:20}, 100, 200],
Source: stackoverflow.com
Related Query
- HighCharts - Angular, how to get y axis labels on the vertical lines drawn from x axis
- How to remove the value and number labels from Highcharts angular gauge
- How to get the Div id of charts in highcharts on click of it in angular 6
- How to get the highlighted point from shared tooltip formatter, Highcharts
- How to make the Y Axis values not start from 0 in highcharts? How to display forcefully display the last category data on X axis in HighCharts ?
- How to get the angular component class reference inside an emitted Highcharts selection event callback function?
- Highcharts - how to access category of multiple axis of the point from tooltip
- How to get the axis value with respect to the cross hair in highcharts
- Highcharts : How do i align data labels above the axis in column chart?
- How to get the X axis value from HighChart on android on click event
- How to get points information when hovering over axis labels in highcharts using custom-events library?
- How to fix formatting of axis labels in Highcharts when surrounding the contents with div?
- How to remove tick lines from secondary y axis in highcharts heatmap graph
- How to draw a chart from one array of data and make labels on the chart from another array of data? Highcharts v.4.0.4
- How to get highcharts dates in the x axis?
- how to set the interval of points on Y - Axis highcharts
- How to hide labels in the highcharts in the pie
- How replicate the value of Y Axis on both sides of the axis in Highcharts
- How can I get the max value of a y axis at highcharts?
- How to get Highcharts X-Axis Categories starting at the left most point
- How to prevent highcharts from shortening labels with ellipsis
- How to draw vertical lines on Highcharts graph?
- How can I remove the white border from HighCharts pie chart?
- Highcharts - How to start x axis from an arbitrary value
- How do I get the value of a highcharts graph point on mouseover?
- How can I delete all of the points from a highcharts series
- Highcharts - how to remove "Open in Highcharts Cloud" from the export menu
- How to adjust the spacing of grid lines in highcharts
- How do I remove the color swatch from my HighCharts legend without affecting the column?
- In highcharts, is it possible get the exact position of x axis labels for overlap detection purpose?
More Query from same tag
- How to use Highcharts.Tooltip type in typescript
- How to show the legend in HighCharts
- r - automatically add y axis in highchart
- Highcharts annotations not working when using boost module
- Highcharts: Difference between onMouseOver vs onContainerPointerMove?
- Generate graphical chart report
- Changing themes using highcharts-angular
- DateTime whout seconds React highcharts
- Rails 3: Creating compact array for highcharts includes nil, but shouldn't
- How to run native JavaScript function in R?
- Include nested entity details but don't group by then when grouping by other fields
- Highcharts, how can I start xAxis on an arbitrary time
- How do I export the current styling of a HighChart series chart to PNG, JPG or PDF?
- Chart update everytime on Loading second array : Highcharts, Javascript
- Customize Highcharts tooltip
- Hight chart show series data in milliseconds
- Angular Highcharts Wordcloud color array
- Download Highcharts Generated Table into R
- How to convert datetime to epoch time in milliseconds javascript
- Enable Drilldown in highchart without modifying the series
- Highcharts Legend event click to get data
- Costumize indicators from stock tools
- Showing multiple data with same x and y in highchart
- How can I add links in a Highcharts tooltip that will open on mobile's browser?
- How to make json object for this type in c#?
- Highchart pie-basic
- Highcharts two series, each is stacked area
- inconsistent SVG elements from Highcharts making tests fail with Geb/Selenium and PhantomJS
- Use classic mode instead of styled mode in Highcharts with Angular
- Highcharts downsampling - CSV