eoinnorris / core-plot

Automatically exported from code.google.com/p/core-plot
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

PlotSource.areaBaseValue bug #530

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a scatter plot with an areaBaseValue and associated fill and an 
xRange that doesn't cover the entire dataset
2. When the graph is drawn, the areaBaseValue isn't respected if lower values 
occur.
3. e.g., in CPTScatterPlot's newDataLinePathForViewPoints, points outside the 
visible range will affect the gradient's starting position as opposed to being 
tied to areaBaseValue!

What is the expected output? What do you see instead?

Either I'm interpreting areaBaseValue wrong, or it's not possible with the 
current system to set a base value for where the fill should start from in this 
particular use-case.

What version of the product are you using? On what operating system?
Newest core-plot from HEAD; iOS.

Please provide any additional information below.

Original issue reported on code.google.com by fisch0...@gmail.com on 4 May 2013 at 11:39

GoogleCodeExporter commented 9 years ago
This is working as designed.

The areaBaseValue (and areaBaseValue2) are constants that don't depend on the 
plot data or the plot ranges. They provide a boundary coordinate for the area 
fill. They can be above, below, or inside the y-values of the plot data.

Original comment by eskr...@mac.com on 5 May 2013 at 5:45