I am just using part of an example for chart director and adding a zone to it but no zone shows up. Not sure why it wont but my code is:
[code] // The data for the bar chart
dim data(-1) as double = array(85.0, 31, 93.5, 42, 15)
// The labels for the bar chart
dim labels(-1) as string = array(“Mon”, “Tue”, “Wed”, “Thu”, “Fri”)
// Create a XYChart object of size 250 x 250 pixels
dim c as new CDXYChartMBS(250, 250)
// Set the plotarea at (30, 20) and of size 200 x 200 pixels
call c.setPlotArea(30, 20, 200, 200)
// Add a bar chart layer using the given data
call c.addBarLayer(data)
// Set the labels on the x axis.
call c.xAxis.setLabels labels
call c.yAxis.addZone(35, 65, &hff676767)
Dim ChartPic as Picture
ChartPic = c.makeChartPicture()[/code]
I looked at code for other examples for the Addzone function and they work just not sure why it doesnt here.
Thanks.