layer.addDataSet(dataSeriesA, 0xff0000, "Software: <*bgColor=FFCCCC*>"
+ c.formatValue(dataSeriesA[dataSeriesA.length - 1], " {value|2} "));
layer.addDataSet(dataSeriesB, 0x00cc00, "Hardware: <*bgColor=CCFFCC*>"
+ c.formatValue(dataSeriesB[dataSeriesB.length - 1], " {value|2} "));
layer.addDataSet(dataSeriesC, 0x0000ff, "Services: <*bgColor=CCCCFF*>"
+ c.formatValue(dataSeriesC[dataSeriesC.length - 1], " {value|2} "));
//
// To show the capabilities of ChartDirector, we are add a movable threshold
// line to the chart and dynamically print a warning message on the chart if
// a data value exceeds the threshold