SHARE
TWEET

Untitled

a guest Jun 24th, 2019 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. for (int i = 0; i <= 24; i++) {
  2.  
  3.     final Minute min = new Minute(0, i, 28, 04, 2019);
  4.     final Minute min1 = new Minute(30, i, 28, 04, 2019);
  5.     final Marker currentEnd = new ValueMarker((double) min.getFirstMillisecond());
  6.     final Marker currentEnd1 = new ValueMarker((double) min1.getFirstMillisecond());
  7.  
  8.     currentEnd1.setLabel("HH" + ((i * 2) - 1 + 3));
  9.     currentEnd.setLabel("HH" + ((i * 2) - 2 + 3));
  10.  
  11.     currentEnd.setLabelAnchor(RectangleAnchor.TOP);
  12.     currentEnd.setLabelFont(font3);
  13.     currentEnd.setLabelTextAnchor(TextAnchor.TOP_LEFT);
  14.     currentEnd1.setLabelAnchor(RectangleAnchor.TOP);
  15.     currentEnd1.setLabelFont(font3);
  16.     currentEnd1.setLabelTextAnchor(TextAnchor.TOP_LEFT);
  17.     currentEnd.setPaint(Color.red);
  18.     currentEnd1.setPaint(Color.red);
  19.     plot1.addDomainMarker(currentEnd1);
  20.     plot1.addDomainMarker(currentEnd);
  21.  
  22. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top