Jump to content

Soggy

Members
  • Content Count

    2
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Soggy

  • Rank
    Newbie
  • Birthday 11/06/1979

Profile Information

  • Location
    Doncaster, UK
  1. Cheers for the help, not quite got it working yet but will need to mess around a little I think.
  2. Hi, I am fairly new to javascript and still finding my feet so if i am not been clear in my question let me know. I am using the chart.js to build graphs in my docuemnts and it works great, I am now trying to expand this by linking to an xml file I have set up. If I use the following code I can retrieve the data fine: xmlDoc=loadXMLDoc("rego.xml");var nSubOrg = xmlDoc.getElementsByTagName('SubOrg');var nRev = xmlDoc.getElementsByTagName('Revenue');var nCol = xmlDoc.getElementsByTagName('Colour');var nHL = xmlDoc.getElementsByTagName('HLight'); //chart data for Chart.JS
×
×
  • Create New...