jqplot error with multiple pie charts on external js file
问题 I am using the jquery pie chart/donut to display data on several pages. There is one chart for each page, which has different data. My plan was to put the coding for each of the pie charts into an external js file that would then be referenced on each page in the page template. However, when the script for the jqplot donut chart on the linked js file gets to a chart that doesn't have a matching ID on the page, none of the scripts for the following charts work. This means that only the first