Bug 173382 Scale for linear Date/Time X-Axis does not work correctly [0001]
Description: Scale for linear Date/Time X-Axis does not work correctly. Build number: 2.2.0.v20070207-1530 Steps to reproduce: 1. New a sample data source, new a data set: select * from ORDERS, add Filters:row["ORDERDATE"]="May 21, 2003 12:00 AM". 2. New a bar chart, Value (Y) Series: row["ORDERNUMBER"], Category (X) Series: row["ORDERDATE"]. 3. In Format Chart tab, go to Chart Area->Axis->X-Axis, click Gridlines button, untick Is Category Axis checkbox, click Finish, preview. 4. Double click the chart, click Scale button, choose Step Size, enter 15 Minutes, click Finish, preview. Expected result: After set Step Size the scale works correctly. Actual result: After set Step Size the chart (step.jpg) is not shown as the auto scale one (auto.jpg), and the chart is not shown correctly in Layout (layout.jpg). Error log: N/A
chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/wizard/format/popup/axis/AxisGridLinesSheet.java
/*******************************************************************************
 * Copyright (c) 2004 Actuate Corporation.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http:www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *  Actuate Corporation  - initial API and implementation
 *******************************************************************************/
package org.eclipse.birt.chart.ui.swt.wizard.format.popup.axis;
import org.eclipse.birt.chart.model.attribute.AngleType;
import org.eclipse.birt.chart.model.attribute.AxisType;
import org.eclipse.birt.chart.model.attribute.ColorDefinition;
import org.eclipse.birt.chart.model.attribute.LineStyle;
import org.eclipse.birt.chart.model.attribute.TickStyle;
import org.eclipse.birt.chart.model.component.Axis;
import org.eclipse.birt.chart.model.component.ComponentPackage;
import org.eclipse.birt.chart.ui.extension.i18n.Messages;
import org.eclipse.birt.chart.ui.swt.composites.FillChooserComposite;
import org.eclipse.birt.chart.ui.swt.composites.GridAttributesComposite;
import org.eclipse.birt.chart.ui.swt.wizard.ChartWizardContext;
import org.eclipse.birt.chart.ui.swt.wizard.format.popup.AbstractPopupSheet;
import org.eclipse.birt.chart.ui.util.ChartHelpContextIds;
import org.eclipse.birt.chart.ui.util.ChartUIUtil;
import org.eclipse.birt.chart.util.LiteralHelper;
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.events.SelectionListener;
import org.eclipse.swt.layout.FillLayout;