score:-1
Here is the fiddle with the tweaked JSON.
https://jsfiddle.net/mschreiberjdi/nwb7vL62/
$(function() {
$('#container').highcharts({
chart: {
renderTo: 'container',
plotBackgroundColor: null,
plotBackgroundImage: null,
plotBorderWidth: 0,
plotShadow: false
},
title: {
text: '40%<br>Probability Of <br>Success',
align: 'center',
verticalAlign: 'bottom',
y: -145
},
tooltip: {
pointFormat: '{series.name}: <b>{point.percentage:.1f}%</b>'
},
pane: {
center: ['50%', '75%'],
size: '50%',
startAngle: -90,
endAngle: 90,
background: {
borderWidth: 0,
backgroundColor: 'none',
innerRadius: '60%',
outerRadius: '100%',
shape: 'arc'
}
},
yAxis: [{
lineWidth: 0,
min: 0,
max: 90,
minorTickLength: 0,
tickLength: 0,
tickWidth: 0,
labels: {
enabled: false
},
title: {
text: '', //'<div class="gaugeFooter">46% Rate</div>',
useHTML: true,
y: 80
},
/*plotBands: [{
from: 0,
to: 46,
color: 'pink',
innerRadius: '100%',
outerRadius: '0%'
},{
from: 46,
to: 90,
color: 'tan',
innerRadius: '100%',
outerRadius: '0%'
}],*/
pane: 0,
}],
plotOptions: {
pie: {
dataLabels: {
enabled: true,
distance: -50,
style: {
fontWeight: 'bold',
color: 'white',
textShadow: '0px 1px 2px black'
}
},
startAngle: -90,
endAngle: 90,
center: ['50%', '75%']
},
gauge: {
dataLabels: {
enabled: false
},
pivot: {
radius: 80,
borderWidth: 2,
borderColor: 'transparent',
backgroundColor: 'white'
},
dial: {
radius: '100%',
backgroundColor: 'gray',
borderColor: 'gray',
baseWidth: 140,
topWidth: 1,
baseLength: '10%', // of radius
rearLength: '10%'
}
}
},
series: [{
type: 'pie',
name: 'Browser share',
innerSize: '50%',
data: [
['Low', 25],
['Medium', 25],
['HIgh', 25]
]
}, {
type: 'gauge',
data: [40],
dial: {
rearLength: 0
}
}],
});
});
Source: stackoverflow.com
Related Query
- Highchart - How do I create the attached image gauge within a semicircle pie chart
- Highchart - How do I create the attached image gauge within a semicircle
- Is there a way how to dynamically create a plotline in highchart when the value is lower than previous one?
- how to customize the tooltip in solid gauge in highchart
- How do you create a survey that will immediately display the results as a pie chart on a website?
- How can i show the count value as well as % on my highchart pie chart?
- Highchart spline Cut Off when reach to maximum scale value. How can it fixed?. I have attached may sample code on body
- How to format PHP into the proper string for JSON in pie chart using highchart
- How do you change the colour of each category within a highcharts column chart?
- How to display the value instead of percentage in a pie chart using jquery Highcharts
- How to hide labels in the highcharts in the pie
- How to change the font family of Highchart to Bootstrap css default font family
- How to save an image of the chart on the server with highcharts?
- How to export a Highchart chart to PDF thanks to a button outside the chart?
- How can I remove the white border from HighCharts pie chart?
- How to create a new Highstock chart with new Highchart and not jquery?
- How to change the font properties in a pie highchart?
- How to Load HighChart dynamically within angular UI Accorion(uib-Accordion)?
- Export HighChart as an image in excel file together with the other page contents
- How to know information about the clicked bar in highchart column r shiny plot
- How can I do in Highchart to have 1px space between the columns and the y Axis?
- Highcharts: How do I set dynamic data to the drilldown pie chart?
- Highcharts, How can I change the datalable distance in a pie chart based on the value
- Highcharts: How to add an arrow head at the tip of a connector in a pie chart?
- How can I extend the lines of this Highchart series to the edges of my chart area?
- How to get Highchart Gauge to work in Sencha Touch 2
- How do I style the series labels on a Highcharts pie chart?
- How to create an inner circle pie chart in Highcharts
- Highcharts: How to provide a custom stack label in highcharts bar graph from within the stackLabel formatter?
- How to add a background image (pattern) to highchart column graph?
More Query from same tag
- HighCharts: Getting Y-Value in One Series Based on X-Value From Another Series
- Highcharts: Dynamically (programmatically) assign the axis name
- Plot band not limited to xAxis, draws for the whole graph
- Highcharts yaxis negative values error
- highcharts scatter change point color
- How to load a highchart script within a WebPartZone
- Format highcharts tooltip
- Exporting highchart to server w/ phantomjs & highcharts-convert
- HighCharts and Javascript to pass data as array
- Highchart data does not start with 0 gives error
- HighCharts - How can i use the period separator in xAxis
- Extending highcharts line series to end of chart
- dataLabels are not showed in boost mode for line chart
- Find special chart on highcharts
- Highcharts displaying additional information to each bubble points using array
- Event listener on HiCharts - android
- Highcharts - Enable border for 1 column/bar only?
- Show multiple Tooltips in highcharts on overlapping points
- Pie Chart with Highchatrs
- highcharts bar graph layout issues
- Dynamically add an object property to existing object
- Is there a way to show overlapping points of the same serie in highchart?
- Highcharts streamgraph Y Axis Labels
- Updating Highcharts column chart based on drop down-menu
- How to add the "isSum" bar in Highchart Waterfall chart in R?
- Get palette of some color
- Highstock chart tooltip activation only when inside the chart
- How to remove empty space between bars in Highcharts polar chart?
- How can I put text within horizontal bar chart data points using Highcharts as well as adding text underneath each data point? Example below:
- Rendering json results to a pie chart in a div - highmaps