Keyser Soze
Posts: 13
Joined: Sun Aug 05, 2007 10:03 am
Contact: Website

Pie chart doesn't work

Hi,

I have tested Highcharts yesterday and it seems to work fine (as long as I am using area-charts). You can see them on my website:
http://www.musikverein08.de/Statistik.1861.0.html

But if I try to insert a third chart that uses the pie option, it does not work at all. I mean this demo:
http://highcharts.com/demo/?example=pie ... me=default
If I copy the code from this exampe and insert it on my website below the other 2 charts (or above them, doesn't matter), it does not work and the only thing that I see is a blank space created by the div.

Is there anything that I have to insert additionally to enable the "pie"-feature?
Keyser Soze
Posts: 13
Joined: Sun Aug 05, 2007 10:03 am
Contact: Website

Re: Pie chart doesn't work

No one wanted to reply so far, but I already noticed today what the problem is. Many examples from the demo website on http://www.highcharts.com/demo/ are accessing values like themes[theme] or highchartsOptions.colors[0]. But these values only exist on the highlide demo website. That's why copying most of the demo sources to my own website didn't work.
torstein.honsi
Site Admin
Posts: 9215
Joined: Thu Nov 09, 2006 11:22 am
Location: Vik i Sogn, Norway

Re: Pie chart doesn't work

I'm sorry for that. I'll make sure those codes are stripped from the online examples, as they are from the downloaded examples.
Torstein Hønsi
CTO, Founder
Highsoft

Return to “Highcharts Usage”