How code “dataLabels” in Highcharts with xml file

Fn-Mi

New Member
I want to create a graph "stacked column" using Highcharts plugin with the data in a XML file. (See here)My XML file is:<?xml version="1.0" encoding="utf-8"?><chart><categories><item>2000</item><item>2001</item><item>2002</item>.... </categories><series><name>Impots locaux</name><data><point>231</point><point>232</point>.... </data></series><series><name>Autres impots et taxes</name><data><point>24</point><point>27</point><point>37</point>.....</data></series><series><name>Dotation globale de fonctionnement</name><data><point>247</point><point>254</point>....</data></series></chart>The HTML coding is:<!DOCTYPE HTML><html><head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Mazet</title> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script> <script type="text/javascript" src="http://stackoverflow.com/questions/js/highcharts.js"></script> <script type="text/javascript" src="http://stackoverflow.com/questions/js/themes/gray.js"></script> <script type="text/javascript"> $(document).ready(function() { var options = { chart: { renderTo: 'container', type: 'column' }, title: { text: 'Produits de fonctionnement du Mazet-Saint-Voy' }, subtitle: { text: 'Source : <a href="http://alize22.finances.gouv.fr/communes/eneuro/RDep.php?type=BPS&dep=043" target="_blank">Minist
 
Back
Top