score:1
Accepted answer
The data array has incorrect format. y
values must be numbers, you set them as an array.
Change series variable to:
var series= [{
type: 'pie',
name: 'Group share',
data: [{
name: 'Board',
y: defaultData[0] },
{
name: 'Member',
y: defaultData2[0],
sliced: true,
selected: true
}
]
}];
Or send those values as a single number instead of an array.
score:0
You look to be missing in your chart section a declaration of a pie chart.
var chart = {
plotBackgroundColor: null,
plotBorderWidth: null,
plotShadow: false,
type: 'pie' // this is missing.
};
Have not been able to run your code to test but fingers crossed this sorts it for you.
Source: stackoverflow.com
Related Query
- HighChart pie does not display any data
- Highchart does not load data from hidden input when using .val
- Highchart not displaying the pie chart with Ajax data
- High chart data downloads but does not display in browser using node
- Why does my addSeries (in highcharts) only display names of the series but not the actual pie chart itself
- Highcharts display label for pie chart using html table as data source
- Highchart does not display unicode character
- Highchart not showing 0 data correctly for pie chart
- Highcharts on zeppelin 0.6.0 executes but does not display any chart
- Highchart data does not start with 0 gives error
- x-axis, y-axis lines does not appear, when I include 3D chart library of HighChart in my code
- Highcharts: Polar chart does not display series correctly in dinamically loaded data
- highchart highstock not display full yAxis data
- Data label not showing in some pie chart handles Highchart
- Highchart Pie chat not display Codeigniter
- Highcharts does not display years on Xaxis when data with NULL values
- Highcharts variable pie legendItemClick does not hide or update data
- Highchart map does not support IRS country code
- Pie Chart is not coming with dynamic data in HIghChart
- Highchart Callback Refactoring not working, and how to display multiple series using multiple Ajax data
- Highcharts not displaying data labels for Pie chart in arabic
- How to display highchart y axis with constistant data
- Highchart (Column Chart) : Few data labels are not appearing for a series
- HighCharts chart export (screenshot download) does not display Navigator graph
- Django - can't get highchart to display data
- using angular directive to draw highchart pie chart but when i am using it in success function it is not working
- Highcharts.js variable pie chart not rendering data correctly along percentage dataLabels
- Customise Highcharts Pie Chart Selection State so that slice does not animate out when selected
- highchart not shown data graph
- Highstock tooltip Formatter not able to display extra data
More Query from same tag
- show custom date on xAxis in highstock lineseries
- Highcharts: negative value in hebrew
- SignalR update breaks layout and scripts on page
- Highcharts Backgroundimage for bar graph
- Highcharts not defined when loading map data through requirejs
- Highchart x-axis show label after specific days no matter what is in the x-axis categories
- Select which chart data category to show versus omit
- Shared tooltips on a pie in a donut?
- Get variable from data structure in highstock
- How can I disable the Highstocks range selector buttons when loading data asynchronously?
- Function to create Highcharts where the series has the correct prototype
- How to change highcharts graph axis colors on export?
- Highcharts Y-axis title text length is more than chart's height
- How to override the css of Highchart
- Why heatmap is on top scatter when using boost.js?
- how to set the interval of points if I have 2 Y axes
- Control spacing and height between bars in Highcharts.js bar chart
- How to add different series data for each categories in Stacked Column chart in Highcharts?
- Set Bootstrap Panel Size 100% + Highcharts content
- Can we change highcharts legend to work as radio button instead of checkbox style?
- Highcharts date time axis
- Highcharts not Drawing point on setInterval
- R Highcharter - X-axis names turning to index in graph
- Highcharts with React Legend placement and more
- Is there any way to include heatmap in treemap
- Plotting Irregular DateTime Data with a predefined X Axis
- Highcharts xAxis Categories not Dsiplaying Properly
- Highcharts - spider web chart questions
- Highchart: To display percent on each and every column of Column chart
- fillColor stacking in area chart