Bug 176582 "Show Lines as Curves" does not work correctly for Area Chart [0001]
Description: "Show Lines as Curves" does not work correctly for Area Chart. Build number: 2.2.0.v20070307-1128 Steps to reproduce: 1. New a Area Chart. 2. In "Format Chart" tab, select Series->Value (Y) Series, tick and untick "Show Lines as Curves" checkbox. Expected result: Null value point e is treated the same when tick and untick "Show Lines as Curves" checkbox. Actual result: Null value point e is treated differently (see the screenshot). Error log: N/A
chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/render/CurveRenderer.java
import org.eclipse.birt.chart.event.Line3DRenderEvent;
import org.eclipse.birt.chart.event.LineRenderEvent;
import org.eclipse.birt.chart.event.OvalRenderEvent;
import org.eclipse.birt.chart.event.Polygon3DRenderEvent;
import org.eclipse.birt.chart.event.PolygonRenderEvent;
import org.eclipse.birt.chart.event.PrimitiveRenderEvent;
import org.eclipse.birt.chart.event.StructureSource;
import org.eclipse.birt.chart.exception.ChartException;
import org.eclipse.birt.chart.model.ChartWithAxes;
import org.eclipse.birt.chart.model.attribute.Bounds;
import org.eclipse.birt.chart.model.attribute.ColorDefinition;
import org.eclipse.birt.chart.model.attribute.Fill;
import org.eclipse.birt.chart.model.attribute.LineAttributes;
import org.eclipse.birt.chart.model.attribute.Location;
import org.eclipse.birt.chart.model.attribute.Location3D;
import org.eclipse.birt.chart.model.attribute.impl.BoundsImpl;
import org.eclipse.birt.chart.model.attribute.impl.ColorDefinitionImpl;
import org.eclipse.birt.chart.model.attribute.impl.LineAttributesImpl;
import org.eclipse.birt.chart.model.attribute.impl.Location3DImpl;
import org.eclipse.birt.chart.model.attribute.impl.LocationImpl;
import org.eclipse.birt.chart.plugin.ChartEnginePlugin;
/**
 * CurveRenderer
 */
public final class CurveRenderer
{
	private final double kError = 0.5d;
	private int iNumberOfPoints = 0;
	private Spline spX = null, spY = null;
	private double[] fa, faX, faY, faZ;