I'm using google chart and I cant put html code for a link on the x axis like this :
function drawChart() {
var data = google.visualization.arrayToDataTable([
['Year', 'Sales', 'Expenses'],
['<a href="#">2004</a>', 1000, 400],
['<a href="#">2005</a>', 1170, 460],
['<a href="#">2006</a>', 660, 1120],
['<a href="#">2007</a>', 1030, 540]
]);
The x axis will show the code of the text and html code isn't work, it is possible to turn the html code inside x axis of the chart ? http://jsfiddle.net/hwLype9v/
Thanks in advance, merry christmas :)
Aucun commentaire:
Enregistrer un commentaire