Package timeflow.vis

Examples of timeflow.vis.TimeScale


      g.setColor(Color.darkGray);
      g.drawString("No data for timeline.", 5, 20);
      return;
    }
   
    scale=new TimeScale();
    scale.setDateRange(visuals.getGlobalInterval());
    scale.setNumberRange(ew, w-ew);
   
   
    // draw the area for the central "thumb".
View Full Code Here


  {   
    TFModel model=visuals.getModel();
    g.setColor(model.getDisplay().getColor("chart.background"));
    Rectangle bounds=visuals.getBounds();
   
    TimeScale scale=visuals.getTimeScale();
    java.util.List<AxisTicMarks> t=AxisTicMarks.allRelevant(scale.getInterval());
   
    int dateLabelH=model.getDisplay().getInt("timeline.datelabel.height");
    int y=bounds.y+bounds.height-dateLabelH; 
   
    // draw in reverse order so bigger granularity at top.
View Full Code Here

TOP

Related Classes of timeflow.vis.TimeScale

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.