Package org.timepedia.chronoscope.client.data

Examples of org.timepedia.chronoscope.client.data.MockXYDataset


    }
  }-*/;

  public void testRangeAxisExports() {
    XYDataset ds[] = new XYDataset[2];
    ds[0] = new MockXYDataset();
    ds[1] = new MockXYDataset();
    runChronoscopeTest(ds, new ViewReadyCallback() {
      public void onViewReady(View view) {
        XYPlot plot = view.getChart().getPlot();
        assertTrue(isSetAutoZoomVisibleRange(ExporterUtil.wrap(plot.getRangeAxis(0))));
        assertTrue(isSetVisibleRange(ExporterUtil.wrap(plot.getRangeAxis(0))));
View Full Code Here


   * Test that issue #23 is fixed http://code.google.com/p/gwt-chronoscope/issues/detail?id=23
   */
  public void testAutoAssignDatasetAxesSameAxis() {

    XYDataset ds[] = new XYDataset[2];
    ds[0] = new MockXYDataset();
    ds[1] = new MockXYDataset();
    runChronoscopeTest(ds, new ViewReadyCallback() {
      public void onViewReady(View view) {
        XYPlot plot = view.getChart().getPlot();
        assertSame(plot.getRangeAxis(0), plot.getRangeAxis(1));
        finishTest();
View Full Code Here

   * Test that issue #23 is fixed http://code.google.com/p/gwt-chronoscope/issues/detail?id=23
   */
  public void testAutoAssignDatasetAxesDifferentAxis() {

    XYDataset ds[] = new XYDataset[2];
    ds[0] = new MockXYDataset();
    MockXYDataset mds = new MockXYDataset();
    mds.setAxisId("different");
    ds[1] = mds;

    runChronoscopeTest(ds, new ViewReadyCallback() {
      public void onViewReady(View view) {
        XYPlot plot = view.getChart().getPlot();
View Full Code Here

TOP

Related Classes of org.timepedia.chronoscope.client.data.MockXYDataset

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.