gujjula / core-plot

Automatically exported from code.google.com/p/core-plot
0 stars 0 forks source link

AAPLot volume display issue in 0.2.2 #270

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In the AAPLot example app in MainViewController.m 
numberForPlot:field:recordIndex: the fieldEnum for "Volume Plot" is incorrect. 
It is looking for a fieldEnum for a Scatter Plot when it should be looking for 
a BarPlot.

if (fieldEnum == CPScatterPlotFieldX) {
...
}
else if (fieldEnum == CPScatterPlotFieldY) {            
...
}

should be

if (fieldEnum == CPBarPlotFieldBarLocation) {
...
}
else if (fieldEnum == CPBarPlotFieldBarLength) {            
...
}

Original issue reported on code.google.com by kanedijk...@gmail.com on 18 Mar 2011 at 8:00

GoogleCodeExporter commented 9 years ago
Fixed it in the main branch. Note that CPBarPlotFieldBarLength is now 
CPBarPlotFieldBarTip.

Original comment by drewmcco...@mac.com on 19 Mar 2011 at 8:53