score:2
a very late answer to this question:
if instead of returning empty string, you instead return null, the label and connector will not show, and you'll be able to achieve this effect without removing the connector:
example: jsfiddle
plotoptions: {
pie: {
datalabels: {
formatter: function(){
if (this.percentage < some_value) return null;
return value_to_show;
}
}
}
}
score:5
the best way to achieve this is to use datalabels formatter for pie chart like this:
plotoptions: {
pie: {
datalabels: {
formatter: function(){
if (this.percentage < some_value) return "";
return value_to_show;
}
}
}
}
replace some_value
and value_toshow
with desired values. but there will be some problems if you're using connector for you labels (it is always visible).
Source: stackoverflow.com
Related Query
- Highcharts Pie Chart Label Threshold
- Highcharts display label for pie chart using html table as data source
- Highcharts drilldown to pie chart - Clicking on axis label with multiple series causes pie charts to overlap
- How can I get a data label in my Highcharts Pie Chart that is a font-awesome icon?
- Position single data label of highcharts pie chart centered below the chart
- Highcharts Pie Chart turning off data label
- How to change Highcharts 3D Pie Chart Label and Tooltip Style?
- How to display the value instead of percentage in a pie chart using jquery Highcharts
- HighCharts - Make the pie chart 100% of the div
- Place text in center of pie chart - Highcharts
- Highcharts - labels inside and outside a pie chart
- Highcharts Pie Chart ignores percentageDecimals tooltip setting and has floating point inaccuracy issue
- Highcharts pie chart dynamically changes size
- Highcharts not displaying data labels for Pie chart in arabic
- Total of values in HighCharts Pie Chart
- Dealing with pie chart label overlap [Highcharts]
- HighCharts Pie Chart - Add text inside each slice
- highcharts - chart names for multiple pie chart series in one chart
- Highcharts Pie Chart Drilldown not showing on third drill
- HighCharts - Pie chart drilldown for multilevel (3 to 4 level)
- Grand Totals in HighCharts Pie Chart Legend
- HighCharts Pie Chart Legend value alignment
- Show value of last point as label or tooltip on Highcharts Stock Chart
- How get data name in Highcharts pie chart legend instead of "Slice" using array of values?
- Rotating dataLabels in a Highcharts pie chart
- Hiding label guidelines on Highcharts pie charts
- Highcharts connecting scatter chart and pie chart with single legend
- Highcharts Donut chart is rendered as a Pie chart in IE 8
- How to create an inner circle pie chart in Highcharts
- How to make a pie chart from highcharts responsive
More Query from same tag
- Use same directive in same view and bind different data
- Chart configurations in case of high number of legends
- How to add table on click over each column in Highcharts Reactjs?
- Scrape data from graph generated with Highcharts
- Highcharts - TickInterval with datetime values
- Highcharts disable hover effect and select animation
- Loading chart via Angular ngRoute not working
- append the min max value lableof solidguage with string in highchart
- Add another series to row Highcharts
- Graphing data from mysql
- highcharts tooltip formatter only shows first 8 characters in this.point.name
- HighChart is not working with multiple axis
- Highcharts Error #16: charts not showing on the same page
- Convert client requests to proper requests for custom highchart node export server
- Trying to load data from a textfield to highchart
- Highcharts elements are not aligned
- using Highcharters in R with Shiny, control highstock chart height failed
- Highcharts area range series change plotting area dynamically
- Displaying percentage inside pie item for highcharts
- Highcharter deprecated function's output is different than suggested
- Highcharts: Logarithmic chart with Y Axis [100, 99.9, 99, 90, 0]
- Highcharts - Replace nulls with 0
- Highstock tickPixelInterval is not working
- How to get a Highchart to appear in HTML pages?
- enable / disable CrossHaires by external button
- Highcharts: Add a custom image button
- Problems implementing synchronized plotline and tooltips for highcharts
- HighCharts Organization Nodes Overlapping
- Highcharts height issue - remove white space at the top. See JSFiddle :)
- Highcharts : How to apply style to x-axis Labels?