/*****************************************************************************************/
private void zeroLine() throws ChartDataException, PropertyException
{
AxisProperties axisProperties = new AxisProperties();
DataAxisProperties dataAxisProperties = (DataAxisProperties) axisProperties.getYAxisProperties();
dataAxisProperties.setUserDefinedScale( -2000, 1200 );
dataAxisProperties.setShowZeroLine( false );
super.exportImage( this.getChart( axisProperties ), "noZeroLine" );
dataAxisProperties.setShowZeroLine( true );
BasicStroke stroke = new BasicStroke( 1f, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND, 5f, new float[]{5f, 5f, 10f, 5f}, 4f );
ChartStroke zeroLineChartStroke = new ChartStroke( stroke, Color.red );
dataAxisProperties.setZeroLineChartStroke( zeroLineChartStroke );
super.exportImage( this.getChart( axisProperties ), "zeroLinePaintStroke" );
}