Customer login  |   Contact us
Home Company Products Support Purchase
Forum Home » ObjectPlanet Developer forum

Topic: How TimeLineChart show float number at Y Axis?
Replies: 0   Pages: 1  


Back to Topic List Back to Topic List Topics: [ Previous | Next ]
Replies: 0   Pages: 1  
eyal1

Posts: 1
Registered: Sep 6, 2012
How TimeLineChart show float number at Y Axis?
Posted: Sep 6, 2012 2:20 PM
  Reply

Hi there,

I'm trying to evaluate EasyCharts and to customize the graph to my purposes. but...

Unfortunately I took this sample and I tried to but I couldn't show Y Axis as float number.

Is someone can help me to figure out how to show float number at Y Axis (at TimeLineChart)?


I quote the sample code:



import com.objectplanet.chart.ext.*;
import java.awt.*;

public class PlotterSample {

public static void main(String[] argv) {
TimeLineChart chart = new TimeLineChart();
String[] time_plots0 = {"2003-02-01|1752.2","2003-02-02|1752.2","2003-02-03|1919.8","2003-02-04|1776.0","2003-02-05|1776.0","2003-02-06|1943.7","2003-02-07|1943.7","2003-02-08|1943.7","2003-02-09|1943.7","2003-02-10|2111.3","2003-02-11|1920.5","2003-02-12|1920.5","2003-02-13|2088.0","2003-02-14|1923.5","2003-02-15|1923.4","2003-02-16|1923.4","2003-02-17|2091.0","2003-02-18|1927.4","2003-02-19|1927.4","2003-02-20|2095.0","2003-02-21|1929.6","2003-02-22|1929.6","2003-02-23|1929.6","2003-02-24|2095.3","2003-02-25|1930.5","2003-02-26|1930.5","2003-02-27|1930.5","2003-02-28|1884.3","2003-03-01|1884.3","2003-03-02|1884.3","2003-03-03|1974.8","2003-03-04|1845.0","2003-03-05|1845.0","2003-03-06|1936.8","2003-03-07|1794.5","2003-03-08|1794.5","2003-03-09|1794.5","2003-03-10|1911.2","2003-03-11|1743.6","2003-03-12|1743.6","2003-03-13|1829.5","2003-03-14|1695.5","2003-03-15|1695.5","2003-03-16|1695.5","2003-03-17|1695.5","2003-03-18|1644.8","2003-03-19|1644.8","2003-03-20|1761.5","2003-03-21|1593.9","2003-03-22|1593.9","2003-03-23|1593.9","2003-03-24|1710.6","2003-03-25|1543.0","2003-03-26|1659.8","2003-03-27|1776.5","2003-03-28|1609.0","2003-03-29|1609.0","2003-03-30|1609.0","2003-03-31|1725.7","2003-04-01|1558.1","2003-04-02|1558.1","2003-04-03|1675.1","2003-04-04|1675.0","2003-04-05|1513.1","2003-04-06|1512.7","2003-04-07|1629.7","2003-04-08|1629.7","2003-04-09|1507.5","2003-04-10|1623.3","2003-04-11|1623.3","2003-04-12|1506.5","2003-04-13|1506.5","2003-04-14|1622.2","2003-04-15|1505.6","2003-04-16|1505.6","2003-04-17|1505.6","2003-04-18|1478.7","2003-04-19|1478.7","2003-04-20|1478.6","2003-04-21|1627.0","2003-04-22|1627.0","2003-04-23|1510.2","2003-04-24|1641.7","2003-04-25|1525.0","2003-04-26|1525.0","2003-04-27|1525.0","2003-04-28|1659.4","2003-04-29|1542.7","2003-04-30|1542.6","2003-05-01|1560.9","2003-05-02|1444.2","2003-05-03|1444.2","2003-05-04|1444.2","2003-05-05|1579.7","2003-05-06|1463.0","2003-05-07|1463.0","2003-05-08|1606.8","2003-05-09|1606.8","2003-05-10|1489.9","2003-05-11|1489.9","2003-05-12|1633.4","2003-05-13|1516.5","2003-05-14|1516.5","2003-05-15|1660.7","2003-05-16|1660.7","2003-05-17|1544.9","2003-05-18|1544.9","2003-05-19|1689.4","2003-05-20|1573.6","2003-05-21|1573.6","2003-05-22|1573.6","2003-05-23|1573.6","2003-05-24|1602.4","2003-05-25|1507.8","2003-05-26|1507.8","2003-05-27|1361.2","2003-05-28|1361.1","2003-05-29|1361.1","2003-05-30|1239.3","2003-05-31|1239.3","2003-06-01|1239.3","2003-06-02|1306.7","2003-06-03|1306.7","2003-06-04|1254.9","2003-06-05|1254.9","2003-06-06|1129.4","2003-06-07|1129.4","2003-06-08|1129.4","2003-06-09|1289.7","2003-06-10|1289.7","2003-06-11|1154.8","2003-06-12|1154.8","2003-06-13|1261.5","2003-06-14|1175.6","2003-06-15|1175.6","2003-06-16|1175.6","2003-06-17|1032.6","2003-06-18|1032.6","2003-06-19|1201.3","2003-06-20|1057.4","2003-06-21|1057.4","2003-06-22|1057.4","2003-06-23|1122.2","2003-06-24|1081.8","2003-06-25|1081.8","2003-06-26|1082.0","2003-06-27|1082.0","2003-06-28|1053.9","2003-06-29|1053.9","2003-06-30|1053.9","2003-07-01|1053.9","2003-07-02|1053.8","2003-07-03|1053.8","2003-07-04|1046.8","2003-07-05|1046.8","2003-07-06|1046.8","2003-07-07|1046.8","2003-07-08|882.2","2003-07-09|882.2","2003-07-10|1064.1","2003-07-11|1083.1","2003-07-12|1074.7","2003-07-13|1074.7","2003-07-14|1240.9","2003-07-15|1259.0","2003-07-16|1204.7","2003-07-17|1442.6","2003-07-18|1442.6","2003-07-19|1269.2","2003-07-20|1269.2","2003-07-21|1269.2","2003-07-22|1269.0","2003-07-23|1269.0","2003-07-24|1514.9","2003-07-25|1395.2","2003-07-26|1395.2","2003-07-27|1395.2","2003-07-28|1634.2","2003-07-29|1634.2","2003-07-30|1461.2","2003-07-31|1704.5","2003-08-01|1704.0","2003-08-02|1704.0","2003-08-03|1704.0","2003-08-04|1940.9","2003-08-05|1942.7","2003-08-06|1942.7","2003-08-07|2108.5","2003-08-08|2108.5","2003-08-09|2108.5","2003-08-10|2108.5","2003-08-11|2108.5","2003-08-12|2108.5","2003-08-13|2108.5","2003-08-14|2227.5","2003-08-15|2233.9","2003-08-16|2233.9","2003-08-17|2233.9","2003-08-18|2445.0","2003-08-19|2481.3","2003-08-20|2481.3","2003-08-21|2481.2","2003-08-22|2245.2","2003-08-23|2245.2","2003-08-24|2245.2","2003-08-25|2489.0","2003-08-26|2489.0","2003-08-27|2489.0","2003-08-28|2721.1","2003-08-29|2484.3","2003-08-30|2484.3","2003-08-31|2484.3","2003-09-01|2695.6","2003-09-02|2695.6","2003-09-03|2458.5","2003-09-04|2693.9","2003-09-05|2454.0","2003-09-06|2454.0","2003-09-07|2454.0","2003-09-08|2665.3","2003-09-09|2665.3","2003-09-10|2665.2","2003-09-11|2468.9","2003-09-12|2204.1","2003-09-13|2204.1","2003-09-14|2204.1","2003-09-15|2375.0","2003-09-16|2375.0","2003-09-17|2375.0","2003-09-18|2375.0","2003-09-19|2182.1","2003-09-20|2182.1","2003-09-21|2182.1","2003-09-22|2372.1","2003-09-23|2041.0","2003-09-24|1928.3","2003-09-25|2183.5","2003-09-26|2183.5","2003-09-27|2183.5","2003-09-28|2183.5","2003-09-29|2195.6","2003-09-30|2089.5","2003-10-01|2089.5","2003-10-02|2276.2","2003-10-03|2103.8","2003-10-04|2103.8","2003-10-05|2103.8","2003-10-06|2304.6","2003-10-07|2149.6","2003-10-08|2149.6","2003-10-09|2367.9","2003-10-10|2140.4","2003-10-11|2140.4","2003-10-12|2140.4","2003-10-13|2308.9"};
String[] time_plots1 = {"2003-02-01|1229.6","2003-02-02|1261.9","2003-02-03|1264.9","2003-02-04|1273.0","2003-02-05|1253.6","2003-02-06|1223.8","2003-02-07|1210.0","2003-02-08|1195.6","2003-02-09|1227.4","2003-02-10|1199.4","2003-02-11|1175.3","2003-02-12|1156.3","2003-02-13|1066.7","2003-02-14|1080.7","2003-02-15|1048.9","2003-02-16|1096.1","2003-02-17|1052.6","2003-02-18|1122.6","2003-02-19|1123.2","2003-02-20|1116.3","2003-02-21|1117.0","2003-02-22|1131.1","2003-02-23|1155.6","2003-02-24|1220.7","2003-02-25|1226.9","2003-02-26|1217.5","2003-02-27|1203.9","2003-02-28|1204.6","2003-03-01|1196.9","2003-03-02|1242.0","2003-03-03|1189.0","2003-03-04|1214.4","2003-03-05|1216.6","2003-03-06|1215.7","2003-03-07|1208.2","2003-03-08|1208.4","2003-03-09|1213.6","2003-03-10|1227.2","2003-03-11|1147.6","2003-03-12|1149.4","2003-03-13|1143.0","2003-03-14|1143.8","2003-03-15|1143.8","2003-03-16|1194.6","2003-03-17|1146.8","2003-03-18|1147.0","2003-03-19|1147.8","2003-03-20|1139.1","2003-03-21|1141.2","2003-03-22|1139.6","2003-03-23|1219.8","2003-03-24|1157.7","2003-03-25|1078.5","2003-03-26|1080.7","2003-03-27|1081.8","2003-03-28|1082.5","2003-03-29|1067.7","2003-03-30|1167.0","2003-03-31|1087.0","2003-04-01|1085.1","2003-04-02|1085.7","2003-04-03|1064.3","2003-04-04|1079.0","2003-04-05|1081.0","2003-04-06|1132.4","2003-04-07|1094.3","2003-04-08|1110.2","2003-04-09|1088.0","2003-04-10|1079.9","2003-04-11|1096.0","2003-04-12|1082.9","2003-04-13|1161.9","2003-04-14|1198.5","2003-04-15|1086.5","2003-04-16|1085.9","2003-04-17|1073.8","2003-04-18|1089.5","2003-04-19|1075.5","2003-04-20|1158.3","2003-04-21|1076.8","2003-04-22|1077.9","2003-04-23|1094.2","2003-04-24|1081.0","2003-04-25|1082.3","2003-04-26|1082.6","2003-04-27|1132.2","2003-04-28|1084.3","2003-04-29|1085.6","2003-04-30|1087.7","2003-05-01|1089.0","2003-05-02|1091.0","2003-05-03|1090.3","2003-05-04|1160.4","2003-05-05|1092.0","2003-05-06|1093.1","2003-05-07|1097.1","2003-05-08|1113.7","2003-05-09|1129.7","2003-05-10|1099.8","2003-05-11|1107.8","2003-05-12|1200.1","2003-05-13|1113.8","2003-05-14|1101.6","2003-05-15|1100.9","2003-05-16|1117.1","2003-05-17|1101.7","2003-05-18|1191.7","2003-05-19|1218.0","2003-05-20|1101.6","2003-05-21|1103.0","2003-05-22|1103.4","2003-05-23|1119.4","2003-05-24|1135.3","2003-05-25|1168.4","2003-05-26|1104.1","2003-05-27|1104.4","2003-05-28|1105.8","2003-05-29|1121.9","2003-05-30|1107.7","2003-05-31|1107.1","2003-06-01|1148.5","2003-06-02|1091.8","2003-06-03|1123.3","2003-06-04|1109.3","2003-06-05|1110.2","2003-06-06|1114.2","2003-06-07|1113.4","2003-06-08|1116.3","2003-06-09|1114.2","2003-06-10|1130.4","2003-06-11|1117.5","2003-06-12|1133.9","2003-06-13|1150.3","2003-06-14|1115.5","2003-06-15|1099.9","2003-06-16|1217.0","2003-06-17|1116.5","2003-06-18|1118.1","2003-06-19|1118.8","2003-06-20|1120.1","2003-06-21|1119.2","2003-06-22|1170.4","2003-06-23|1107.1","2003-06-24|1121.3","2003-06-25|1122.8","2003-06-26|1123.3","2003-06-27|1125.8","2003-06-28|1123.8","2003-06-29|1201.5","2003-06-30|1166.4","2003-07-01|1124.6","2003-07-02|1126.2","2003-07-03|1111.7","2003-07-04|1128.2","2003-07-05|1128.7","2003-07-06|1198.1","2003-07-07|1130.4","2003-07-08|1132.5","2003-07-09|1134.8","2003-07-10|1151.8","2003-07-11|1168.5","2003-07-12|1136.3","2003-07-13|1178.9","2003-07-14|1254.1","2003-07-15|1134.7","2003-07-16|1136.4","2003-07-17|1137.0","2003-07-18|1139.8","2003-07-19|1138.8","2003-07-20|1209.4","2003-07-21|1139.1","2003-07-22|1140.0","2003-07-23|1157.5","2003-07-24|1142.0","2003-07-25|1144.7","2003-07-26|1142.0","2003-07-27|1227.2","2003-07-28|1142.5","2003-07-29|1159.3","2003-07-30|1176.7","2003-07-31|1143.7","2003-08-01|1145.7","2003-08-02|1128.1","2003-08-03|1194.4","2003-08-04|1128.9","2003-08-05|1146.2","2003-08-06|1148.0","2003-08-07|1150.6","2003-08-08|1154.9","2003-08-09|1147.4","2003-08-10|1182.3","2003-08-11|1147.4","2003-08-12|1148.3","2003-08-13|1150.0","2003-08-14|1142.0","2003-08-15|1151.2","2003-08-16|1149.1","2003-08-17|1222.0","2003-08-18|1251.7","2003-08-19|1150.9","2003-08-20|1151.5","2003-08-21|1163.7","2003-08-22|1175.1","2003-08-23|1172.8","2003-08-24|1255.7","2003-08-25|1174.0","2003-08-26|1174.9","2003-08-27|1176.7","2003-08-28|1177.3","2003-08-29|1180.2","2003-08-30|1160.6","2003-08-31|1241.7","2003-09-01|1162.2","2003-09-02|1179.7","2003-09-03|1164.3","2003-09-04|1166.2","2003-09-05|1168.0","2003-09-06|1168.5","2003-09-07|1151.2","2003-09-08|1154.3","2003-09-09|1188.1","2003-09-10|1206.3","2003-09-11|1173.6","2003-09-12|1234.8","2003-09-13|1230.9","2003-09-14|1230.9","2003-09-15|1127.6","2003-09-16|1162.7","2003-09-17|1147.2","2003-09-18|1147.8","2003-09-19|1150.6","2003-09-20|1148.4","2003-09-21|1148.8","2003-09-22|1063.5","2003-09-23|1064.3","2003-09-24|1065.8","2003-09-25|1066.2","2003-09-26|1047.3","2003-09-27|1045.1","2003-09-28|1044.8","2003-09-29|959.0","2003-09-30|959.0","2003-10-01|960.2","2003-10-02|960.7","2003-10-03|963.8","2003-10-04|961.0","2003-10-05|1045.1","2003-10-06|978.8","2003-10-07|982.0","2003-10-08|983.7","2003-10-09|1001.8","2003-10-10|986.3","2003-10-11|984.0","2003-10-12|980.8","2003-10-13|982.8"};
String[] time_plots2 = {"2003-02-01|988.7","2003-02-02|989.7","2003-02-03|1017.4","2003-02-04|980.0","2003-02-05|975.3","2003-02-06|970.4","2003-02-07|965.6","2003-02-08|960.8","2003-02-09|955.7","2003-02-10|983.5","2003-02-11|946.1","2003-02-12|941.6","2003-02-13|936.9","2003-02-14|932.2","2003-02-15|947.7","2003-02-16|922.2","2003-02-17|949.9","2003-02-18|912.4","2003-02-19|907.8","2003-02-20|902.8","2003-02-21|897.9","2003-02-22|844.2","2003-02-23|859.7","2003-02-24|882.5","2003-02-25|845.0","2003-02-26|840.3","2003-02-27|835.5","2003-02-28|830.5","2003-03-01|873.8","2003-03-02|920.8","2003-03-03|920.8","2003-03-04|883.6","2003-03-05|883.6","2003-03-06|841.8","2003-03-07|841.8","2003-03-08|797.3","2003-03-09|888.0","2003-03-10|735.0","2003-03-11|735.0","2003-03-12|735.0","2003-03-13|690.7","2003-03-14|659.8","2003-03-15|622.9","2003-03-16|710.0","2003-03-17|625.3","2003-03-18|625.3","2003-03-19|625.3","2003-03-20|625.3","2003-03-21|625.3","2003-03-22|625.3","2003-03-23|730.2","2003-03-24|693.5","2003-03-25|676.1","2003-03-26|791.2","2003-03-27|791.2","2003-03-28|820.6","2003-03-29|894.3","2003-03-30|894.3","2003-03-31|861.1","2003-04-01|909.5","2003-04-02|915.4","2003-04-03|1013.7","2003-04-04|1060.6","2003-04-05|1060.5","2003-04-06|1060.5","2003-04-07|975.4","2003-04-08|1026.1","2003-04-09|1026.1","2003-04-10|1026.1","2003-04-11|1026.1","2003-04-12|1026.1","2003-04-13|1095.4","2003-04-14|1184.0","2003-04-15|1096.0","2003-04-16|1148.6","2003-04-17|1148.6","2003-04-18|1148.6","2003-04-19|1148.6","2003-04-20|1241.4","2003-04-21|1155.5","2003-04-22|1155.5","2003-04-23|1155.5","2003-04-24|1155.5","2003-04-25|1155.5","2003-04-26|1155.5","2003-04-27|1248.3","2003-04-28|1157.3","2003-04-29|1157.3","2003-04-30|1148.9","2003-05-01|1042.4","2003-05-02|1013.0","2003-05-03|980.7","2003-05-04|1046.7","2003-05-05|1009.9","2003-05-06|962.7","2003-05-07|962.3","2003-05-08|962.3","2003-05-09|962.3","2003-05-10|768.4","2003-05-11|828.0","2003-05-12|828.0","2003-05-13|798.9","2003-05-14|779.3","2003-05-15|811.3","2003-05-16|811.3","2003-05-17|811.3","2003-05-18|900.7","2003-05-19|900.7","2003-05-20|796.6","2003-05-21|796.6","2003-05-22|794.6","2003-05-23|794.6","2003-05-24|794.6","2003-05-25|839.1","2003-05-26|729.6","2003-05-27|729.4","2003-05-28|780.1","2003-05-29|780.1","2003-05-30|780.1","2003-05-31|780.1","2003-06-01|875.0","2003-06-02|782.6","2003-06-03|782.6","2003-06-04|782.6","2003-06-05|782.6","2003-06-06|782.6","2003-06-07|782.6","2003-06-08|887.0","2003-06-09|794.4","2003-06-10|794.4","2003-06-11|855.3","2003-06-12|855.3","2003-06-13|855.3","2003-06-14|855.3","2003-06-15|969.4","2003-06-16|988.6","2003-06-17|867.2","2003-06-18|867.1","2003-06-19|867.1","2003-06-20|867.1","2003-06-21|867.1","2003-06-22|929.4","2003-06-23|858.8","2003-06-24|851.9","2003-06-25|893.3","2003-06-26|843.5","2003-06-27|900.3","2003-06-28|955.3","2003-06-29|1021.4","2003-06-30|929.0","2003-07-01|929.0","2003-07-02|878.5","2003-07-03|943.6","2003-07-04|943.6","2003-07-05|943.6","2003-07-06|943.6","2003-07-07|854.1","2003-07-08|854.1","2003-07-09|854.1","2003-07-10|854.1","2003-07-11|854.1","2003-07-12|854.1","2003-07-13|920.5","2003-07-14|823.3","2003-07-15|823.3","2003-07-16|760.5","2003-07-17|760.5","2003-07-18|760.5","2003-07-19|760.5","2003-07-20|855.6","2003-07-21|735.7","2003-07-22|735.7","2003-07-23|735.7","2003-07-24|735.7","2003-07-25|735.7","2003-07-26|735.7","2003-07-27|833.8","2003-07-28|717.3","2003-07-29|717.3","2003-07-30|675.7","2003-07-31|675.7","2003-08-01|634.3","2003-08-02|580.2","2003-08-03|704.8","2003-08-04|641.6","2003-08-05|641.6","2003-08-06|641.6","2003-08-07|584.0","2003-08-08|690.6","2003-08-09|690.6","2003-08-10|690.4","2003-08-11|790.9","2003-08-12|790.9","2003-08-13|790.9","2003-08-14|790.9","2003-08-15|790.9","2003-08-16|790.9","2003-08-17|888.3","2003-08-18|896.9","2003-08-19|835.1","2003-08-20|835.1","2003-08-21|835.1","2003-08-22|835.1","2003-08-23|835.1","2003-08-24|905.9","2003-08-25|806.3","2003-08-26|806.3","2003-08-27|806.3","2003-08-28|806.3","2003-08-29|806.3","2003-08-30|806.3","2003-08-31|907.3","2003-09-01|930.0","2003-09-02|930.0","2003-09-03|930.0","2003-09-04|930.0","2003-09-05|930.0","2003-09-06|930.0","2003-09-07|1044.8","2003-09-08|915.8","2003-09-09|970.4","2003-09-10|1097.6","2003-09-11|1097.6","2003-09-12|1097.6","2003-09-13|997.1","2003-09-14|997.1","2003-09-15|1011.9","2003-09-16|1011.9","2003-09-17|1011.9","2003-09-18|1011.9","2003-09-19|1011.9","2003-09-20|1011.9","2003-09-21|1128.2","2003-09-22|1024.6","2003-09-23|1024.6","2003-09-24|1024.6","2003-09-25|1024.6","2003-09-26|1024.6","2003-09-27|1024.6","2003-09-28|1114.6","2003-09-29|1074.1","2003-09-30|1074.1","2003-10-01|1074.1","2003-10-02|1074.1","2003-10-03|1074.1","2003-10-04|1074.1","2003-10-05|1190.1","2003-10-06|977.7","2003-10-07|977.7","2003-10-08|977.7","2003-10-09|977.7","2003-10-10|977.7","2003-10-11|977.7","2003-10-12|1097.4","2003-10-13|991.6"};
String[] time_plots3 = {"2003-02-01|708.5","2003-02-02|728.4","2003-02-03|688.7","2003-02-04|691.6","2003-02-05|682.2","2003-02-06|672.9","2003-02-07|663.4","2003-02-08|653.9","2003-02-09|705.8","2003-02-10|647.3","2003-02-11|650.3","2003-02-12|640.7","2003-02-13|631.2","2003-02-14|621.6","2003-02-15|624.8","2003-02-16|650.5","2003-02-17|590.9","2003-02-18|592.9","2003-02-19|582.3","2003-02-20|524.5","2003-02-21|514.0","2003-02-22|490.8","2003-02-23|541.1","2003-02-24|497.2","2003-02-25|483.6","2003-02-26|473.1","2003-02-27|462.5","2003-02-28|497.6","2003-03-01|825.6","2003-03-02|820.4","2003-03-03|848.0","2003-03-04|810.6","2003-03-05|805.8","2003-03-06|800.9","2003-03-07|795.9","2003-03-08|791.1","2003-03-09|785.9","2003-03-10|813.3","2003-03-11|775.9","2003-03-12|777.3","2003-03-13|778.6","2003-03-14|779.8","2003-03-15|781.0","2003-03-16|782.0","2003-03-17|815.7","2003-03-18|784.4","2003-03-19|785.8","2003-03-20|787.0","2003-03-21|819.5","2003-03-22|820.6","2003-03-23|821.5","2003-03-24|855.3","2003-03-25|823.9","2003-03-26|825.4","2003-03-27|826.7","2003-03-28|828.0","2003-03-29|813.5","2003-03-30|830.1","2003-03-31|863.8","2003-04-01|832.5","2003-04-02|834.0","2003-04-03|819.5","2003-04-04|836.8","2003-04-05|838.1","2003-04-06|839.1","2003-04-07|873.1","2003-04-08|841.9","2003-04-09|859.1","2003-04-10|844.7","2003-04-11|862.2","2003-04-12|847.5","2003-04-13|864.6","2003-04-14|911.4","2003-04-15|854.1","2003-04-16|856.1","2003-04-17|858.0","2003-04-18|859.7","2003-04-19|877.7","2003-04-20|863.0","2003-04-21|880.4","2003-04-22|849.2","2003-04-23|850.6","2003-04-24|868.3","2003-04-25|853.2","2003-04-26|854.4","2003-04-27|855.4","2003-04-28|889.2","2003-04-29|857.9","2003-04-30|830.0","2003-05-01|831.3","2003-05-02|832.6","2003-05-03|833.9","2003-05-04|834.9","2003-05-05|824.4","2003-05-06|820.1","2003-05-07|821.8","2003-05-08|840.0","2003-05-09|858.4","2003-05-10|825.8","2003-05-11|826.6","2003-05-12|877.5","2003-05-13|829.2","2003-05-14|830.6","2003-05-15|832.0","2003-05-16|850.7","2003-05-17|834.7","2003-05-18|835.7","2003-05-19|888.3","2003-05-20|907.4","2003-05-21|840.3","2003-05-22|841.0","2003-05-23|860.2","2003-05-24|879.4","2003-05-25|844.1","2003-05-26|895.8","2003-05-27|862.8","2003-05-28|864.5","2003-05-29|848.2","2003-05-30|867.4","2003-05-31|868.8","2003-06-01|869.9","2003-06-02|872.3","2003-06-03|872.6","2003-06-04|924.5","2003-06-05|908.4","2003-06-06|909.9","2003-06-07|911.2","2003-06-08|930.4","2003-06-09|946.5","2003-06-10|965.9","2003-06-11|934.3","2003-06-12|935.6","2003-06-13|955.1","2003-06-14|974.7","2003-06-15|939.2","2003-06-16|991.3","2003-06-17|942.6","2003-06-18|976.0","2003-06-19|977.2","2003-06-20|1011.2","2003-06-21|1012.5","2003-06-22|1013.4","2003-06-23|1047.1","2003-06-24|1015.8","2003-06-25|1015.8","2003-06-26|1016.7","2003-06-27|1017.5","2003-06-28|1018.2","2003-06-29|999.7","2003-06-30|1048.5","2003-07-01|1050.9","2003-07-02|1052.0","2003-07-03|1053.3","2003-07-04|1054.4","2003-07-05|1055.4","2003-07-06|1056.2","2003-07-07|1090.4","2003-07-08|1059.0","2003-07-09|1060.0","2003-07-10|1080.6","2003-07-11|1030.3","2003-07-12|1051.0","2003-07-13|1071.4","2003-07-14|1066.7","2003-07-15|1087.4","2003-07-16|1036.7","2003-07-17|1038.1","2003-07-18|1039.4","2003-07-19|1040.8","2003-07-20|1041.8","2003-07-21|1075.9","2003-07-22|1044.9","2003-07-23|994.0","2003-07-24|1015.1","2003-07-25|1048.7","2003-07-26|1034.3","2003-07-27|1028.2","2003-07-28|1090.8","2003-07-29|1033.1","2003-07-30|1033.1","2003-07-31|1033.1","2003-08-01|1007.9","2003-08-02|982.6","2003-08-03|996.7","2003-08-04|1055.9","2003-08-05|1026.0","2003-08-06|987.0","2003-08-07|980.9","2003-08-08|974.8","2003-08-09|959.8","2003-08-10|924.9","2003-08-11|995.8","2003-08-12|949.8","2003-08-13|935.7","2003-08-14|930.4","2003-08-15|925.2","2003-08-16|920.1","2003-08-17|914.2","2003-08-18|994.2","2003-08-19|938.8","2003-08-20|933.0","2003-08-21|978.4","2003-08-22|976.6","2003-08-23|970.7","2003-08-24|964.6","2003-08-25|979.0","2003-08-26|923.6","2003-08-27|917.6","2003-08-28|911.7","2003-08-29|905.5","2003-08-30|898.9","2003-08-31|859.5","2003-09-01|868.5","2003-09-02|887.3","2003-09-03|806.2","2003-09-04|820.2","2003-09-05|834.8","2003-09-06|835.4","2003-09-07|872.8","2003-09-08|940.5","2003-09-09|940.5","2003-09-10|974.2","2003-09-11|943.9","2003-09-12|944.5","2003-09-13|1015.3","2003-09-14|1015.3","2003-09-15|1100.7","2003-09-16|1217.8","2003-09-17|1161.1","2003-09-18|1174.1","2003-09-19|1188.6","2003-09-20|1193.6","2003-09-21|1198.7","2003-09-22|1205.8","2003-09-23|1146.2","2003-09-24|1218.1","2003-09-25|1220.0","2003-09-26|1180.6","2003-09-27|1199.9","2003-09-28|1201.1","2003-09-29|1290.0","2003-09-30|1295.1","2003-10-01|1301.5","2003-10-02|1369.7","2003-10-03|1375.7","2003-10-04|1381.6","2003-10-05|1387.7","2003-10-06|1393.3","2003-10-07|1399.2","2003-10-08|1405.7","2003-10-09|1392.5","2003-10-10|1413.1","2003-10-11|1420.0","2003-10-12|1431.2","2003-10-13|1424.9"};
String[] time_plots4 = {"2003-02-01|647.7","2003-02-02|646.7","2003-02-03|625.9","2003-02-04|650.5","2003-02-05|645.1","2003-02-06|682.1","2003-02-07|664.8","2003-02-08|668.9","2003-02-09|662.8","2003-02-10|656.2","2003-02-11|647.3","2003-02-12|631.4","2003-02-13|629.3","2003-02-14|660.6","2003-02-15|632.6","2003-02-16|606.5","2003-02-17|641.1","2003-02-18|624.4","2003-02-19|625.2","2003-02-20|609.6","2003-02-21|610.5","2003-02-22|620.4","2003-02-23|589.3","2003-02-24|594.0","2003-02-25|590.3","2003-02-26|593.4","2003-02-27|616.1","2003-02-28|604.3","2003-03-01|602.7","2003-03-02|641.8","2003-03-03|607.7","2003-03-04|606.0","2003-03-05|607.2","2003-03-06|608.1","2003-03-07|608.9","2003-03-08|609.6","2003-03-09|638.8","2003-03-10|605.0","2003-03-11|593.0","2003-03-12|588.7","2003-03-13|589.1","2003-03-14|589.4","2003-03-15|589.5","2003-03-16|618.1","2003-03-17|617.9","2003-03-18|589.8","2003-03-19|591.1","2003-03-20|592.1","2003-03-21|593.0","2003-03-22|593.8","2003-03-23|623.1","2003-03-24|595.3","2003-03-25|568.3","2003-03-26|569.4","2003-03-27|570.9","2003-03-28|572.2","2003-03-29|563.1","2003-03-30|602.9","2003-03-31|575.3","2003-04-01|576.3","2003-04-02|579.9","2003-04-03|579.3","2003-04-04|590.7","2003-04-05|591.9","2003-04-06|621.2","2003-04-07|595.5","2003-04-08|606.4","2003-04-09|620.0","2003-04-10|620.7","2003-04-11|632.3","2003-04-12|622.9","2003-04-13|653.2","2003-04-14|676.3","2003-04-15|627.4","2003-04-16|629.7","2003-04-17|631.4","2003-04-18|643.1","2003-04-19|634.1","2003-04-20|665.5","2003-04-21|638.1","2003-04-22|639.3","2003-04-23|651.1","2003-04-24|641.6","2003-04-25|642.6","2003-04-26|643.7","2003-04-27|674.8","2003-04-28|647.1","2003-04-29|637.2","2003-04-30|649.1","2003-05-01|650.1","2003-05-02|639.9","2003-05-03|652.0","2003-05-04|683.1","2003-05-05|655.4","2003-05-06|656.2","2003-05-07|657.3","2003-05-08|669.4","2003-05-09|681.5","2003-05-10|651.4","2003-05-11|682.3","2003-05-12|694.4","2003-05-13|664.5","2003-05-14|676.3","2003-05-15|653.8","2003-05-16|666.0","2003-05-17|646.0","2003-05-18|688.5","2003-05-19|700.7","2003-05-20|648.1","2003-05-21|649.8","2003-05-22|650.0","2003-05-23|662.4","2003-05-24|675.8","2003-05-25|718.8","2003-05-26|654.1","2003-05-27|654.6","2003-05-28|655.6","2003-05-29|668.3","2003-05-30|657.1","2003-05-31|658.0","2003-06-01|689.3","2003-06-02|654.6","2003-06-03|672.4","2003-06-04|661.2","2003-06-05|662.0","2003-06-06|662.6","2003-06-07|663.2","2003-06-08|704.7","2003-06-09|664.7","2003-06-10|677.3","2003-06-11|666.2","2003-06-12|679.1","2003-06-13|691.7","2003-06-14|667.2","2003-06-15|684.1","2003-06-16|711.0","2003-06-17|669.2","2003-06-18|670.0","2003-06-19|670.6","2003-06-20|671.7","2003-06-21|672.9","2003-06-22|702.2","2003-06-23|662.1","2003-06-24|674.9","2003-06-25|676.0","2003-06-26|676.4","2003-06-27|676.9","2003-06-28|677.3","2003-06-29|720.8","2003-06-30|678.3","2003-07-01|679.0","2003-07-02|668.6","2003-07-03|666.5","2003-07-04|680.0","2003-07-05|680.6","2003-07-06|694.6","2003-07-07|684.3","2003-07-08|685.3","2003-07-09|686.1","2003-07-10|699.6","2003-07-11|712.6","2003-07-12|687.9","2003-07-13|724.0","2003-07-14|744.7","2003-07-15|720.6","2003-07-16|721.2","2003-07-17|721.8","2003-07-18|722.1","2003-07-19|722.7","2003-07-20|753.9","2003-07-21|723.8","2003-07-22|724.3","2003-07-23|737.9","2003-07-24|726.0","2003-07-25|726.5","2003-07-26|726.9","2003-07-27|757.7","2003-07-28|727.6","2003-07-29|740.9","2003-07-30|757.2","2003-07-31|733.3","2003-08-01|733.3","2003-08-02|721.1","2003-08-03|734.5","2003-08-04|721.7","2003-08-05|731.7","2003-08-06|732.3","2003-08-07|732.9","2003-08-08|733.5","2003-08-09|734.3","2003-08-10|724.2","2003-08-11|734.9","2003-08-12|735.5","2003-08-13|735.7","2003-08-14|722.3","2003-08-15|735.9","2003-08-16|736.5","2003-08-17|769.7","2003-08-18|783.3","2003-08-19|740.9","2003-08-20|708.9","2003-08-21|741.0","2003-08-22|741.9","2003-08-23|742.4","2003-08-24|787.6","2003-08-25|744.2","2003-08-26|744.8","2003-08-27|745.3","2003-08-28|745.5","2003-08-29|745.7","2003-08-30|732.4","2003-08-31|764.2","2003-09-01|734.1","2003-09-02|747.9","2003-09-03|736.1","2003-09-04|734.4","2003-09-05|733.9","2003-09-06|734.5","2003-09-07|722.5","2003-09-08|767.3","2003-09-09|781.2","2003-09-10|795.2","2003-09-11|742.4","2003-09-12|742.8","2003-09-13|743.3","2003-09-14|743.3","2003-09-15|735.7","2003-09-16|755.2","2003-09-17|742.2","2003-09-18|742.6","2003-09-19|743.1","2003-09-20|743.6","2003-09-21|744.0","2003-09-22|711.9","2003-09-23|712.4","2003-09-24|712.1","2003-09-25|712.6","2003-09-26|681.5","2003-09-27|681.2","2003-09-28|681.7","2003-09-29|650.6","2003-09-30|651.3","2003-10-01|651.9","2003-10-02|652.5","2003-10-03|653.1","2003-10-04|653.7","2003-10-05|699.9","2003-10-06|668.8","2003-10-07|663.7","2003-10-08|669.9","2003-10-09|684.3","2003-10-10|670.3","2003-10-11|670.8","2003-10-12|659.7","2003-10-13|666.1"};
String[] time_plots5 = {"2003-02-01|541.4","2003-02-02|671.8","2003-02-03|636.9","2003-02-04|636.9","2003-02-05|636.9","2003-02-06|686.3","2003-02-07|751.9","2003-02-08|751.9","2003-02-09|838.5","2003-02-10|781.6","2003-02-11|781.6","2003-02-12|781.6","2003-02-13|781.6","2003-02-14|781.6","2003-02-15|781.6","2003-02-16|781.6","2003-02-17|785.0","2003-02-18|785.0","2003-02-19|785.0","2003-02-20|785.0","2003-02-21|785.0","2003-02-22|785.0","2003-02-23|788.3","2003-02-24|827.9","2003-02-25|827.9","2003-02-26|873.8","2003-02-27|873.8","2003-02-28|873.8","2003-03-01|590.0","2003-03-02|589.6","2003-03-03|619.0","2003-03-04|593.1","2003-03-05|617.1","2003-03-06|616.9","2003-03-07|601.0","2003-03-08|591.5","2003-03-09|560.6","2003-03-10|566.5","2003-03-11|597.4","2003-03-12|574.6","2003-03-13|547.8","2003-03-14|529.5","2003-03-15|529.9","2003-03-16|529.1","2003-03-17|563.4","2003-03-18|571.2","2003-03-19|573.0","2003-03-20|573.9","2003-03-21|577.2","2003-03-22|555.5","2003-03-23|556.2","2003-03-24|585.9","2003-03-25|567.6","2003-03-26|569.2","2003-03-27|570.1","2003-03-28|575.7","2003-03-29|564.8","2003-03-30|565.0","2003-03-31|579.2","2003-04-01|589.8","2003-04-02|594.0","2003-04-03|560.8","2003-04-04|572.5","2003-04-05|578.7","2003-04-06|586.7","2003-04-07|597.0","2003-04-08|629.2","2003-04-09|593.0","2003-04-10|567.5","2003-04-11|576.5","2003-04-12|583.9","2003-04-13|585.7","2003-04-14|611.7","2003-04-15|591.8","2003-04-16|587.8","2003-04-17|592.4","2003-04-18|596.7","2003-04-19|611.9","2003-04-20|599.9","2003-04-21|601.1","2003-04-22|568.3","2003-04-23|579.8","2003-04-24|551.7","2003-04-25|554.4","2003-04-26|581.2","2003-04-27|582.2","2003-04-28|588.8","2003-04-29|569.7","2003-04-30|569.6","2003-05-01|575.0","2003-05-02|590.9","2003-05-03|595.2","2003-05-04|601.6","2003-05-05|614.2","2003-05-06|612.6","2003-05-07|615.4","2003-05-08|625.8","2003-05-09|636.3","2003-05-10|586.0","2003-05-11|586.6","2003-05-12|620.3","2003-05-13|590.5","2003-05-14|597.8","2003-05-15|591.9","2003-05-16|602.8","2003-05-17|590.8","2003-05-18|599.4","2003-05-19|607.9","2003-05-20|586.5","2003-05-21|572.5","2003-05-22|562.0","2003-05-23|570.7","2003-05-24|581.7","2003-05-25|590.1","2003-05-26|559.1","2003-05-27|569.7","2003-05-28|569.4","2003-05-29|606.6","2003-05-30|592.2","2003-05-31|592.6","2003-06-01|561.4","2003-06-02|586.2","2003-06-03|594.7","2003-06-04|569.1","2003-06-05|594.2","2003-06-06|597.1","2003-06-07|588.1","2003-06-08|620.0","2003-06-09|609.4","2003-06-10|643.8","2003-06-11|616.9","2003-06-12|628.2","2003-06-13|643.5","2003-06-14|634.8","2003-06-15|625.2","2003-06-16|667.0","2003-06-17|633.6","2003-06-18|636.7","2003-06-19|638.3","2003-06-20|640.1","2003-06-21|665.5","2003-06-22|665.8","2003-06-23|689.6","2003-06-24|691.7","2003-06-25|690.2","2003-06-26|695.3","2003-06-27|693.4","2003-06-28|719.5","2003-06-29|728.3","2003-06-30|743.1","2003-07-01|740.2","2003-07-02|757.9","2003-07-03|745.9","2003-07-04|760.0","2003-07-05|760.3","2003-07-06|758.2","2003-07-07|758.5","2003-07-08|736.2","2003-07-09|739.0","2003-07-10|748.1","2003-07-11|762.4","2003-07-12|738.0","2003-07-13|746.8","2003-07-14|711.3","2003-07-15|722.2","2003-07-16|689.1","2003-07-17|691.3","2003-07-18|691.7","2003-07-19|685.2","2003-07-20|671.1","2003-07-21|671.1","2003-07-22|648.4","2003-07-23|657.2","2003-07-24|646.5","2003-07-25|622.9","2003-07-26|649.1","2003-07-27|621.9","2003-07-28|647.2","2003-07-29|656.0","2003-07-30|622.0","2003-07-31|633.5","2003-08-01|617.2","2003-08-02|585.3","2003-08-03|594.1","2003-08-04|585.3","2003-08-05|572.0","2003-08-06|569.8","2003-08-07|542.4","2003-08-08|535.4","2003-08-10|522.1","2003-08-11|532.6","2003-08-12|535.2","2003-08-13|534.0","2003-08-24|621.9","2003-08-25|613.2","2003-08-26|617.6","2003-08-27|617.8","2003-08-28|617.1","2003-08-29|620.3","2003-08-30|610.2","2003-09-01|608.0","2003-09-02|617.0","2003-09-09|629.9","2003-09-10|660.9","2003-09-11|646.8","2003-09-12|676.8","2003-09-13|667.9","2003-09-14|667.9","2003-09-15|675.4","2003-09-16|688.7","2003-09-17|711.6","2003-09-18|718.2","2003-09-19|745.9","2003-09-20|755.7","2003-09-21|754.9","2003-09-22|758.4","2003-09-23|765.7","2003-09-24|770.4","2003-09-25|772.6","2003-09-26|752.1","2003-09-27|756.9","2003-09-28|776.1","2003-09-29|736.6","2003-09-30|746.9","2003-10-01|745.0","2003-10-02|749.1","2003-10-03|777.6","2003-10-04|811.2","2003-10-05|842.8","2003-10-06|856.9","2003-10-07|825.6","2003-10-08|852.5","2003-10-09|874.2","2003-10-10|902.3","2003-10-11|932.4","2003-10-12|920.6","2003-10-13|922.6"};
Color[] sampleColors = {new Color(0xff0000), new Color(0xff7900), new Color(0xffc800), new Color(0xbce400), new Color(0x007ebb), new Color(0x0011a8), new Color(0xb100b4)};

chart.setSeriesCount(6);
chart.setAutoTimeLabelsOn(true);
chart.setTimeFormatInput("yyyy-MM-dd");
chart.setTimeFormatOut("yyyy-MM-dd");
chart.setLowerTime("2003-02-01");
chart.setUpperTime("2003-10-13");
chart.setTimeScale(86400);
chart.setLabelAngle("sampleLabelAngle", 270);
chart.setSampleColors(sampleColors);
chart.setAutoLabelSpacingOn(true);
chart.setTimePlots(0, time_plots0);
chart.setTimePlots(1, time_plots1);
chart.setTimePlots(2, time_plots2);
chart.setTimePlots(3, time_plots3);
chart.setTimePlots(4, time_plots4);
chart.setTimePlots(5, time_plots5);
chart.setSampleScrollerOn(true);
chart.setRange(0, 2800);
chart.setLowerRange(0, 400);
chart.setRangeAdjusterOn(0, true);
chart.setValueLinesOn(true);
chart.setValueLinesColor(Color.white);
chart.setLineWidth(-1, 1);
chart.setConnectedLinesOn(-1, true);
chart.setChartBackground(new Color(0xddffdd));

com.objectplanet.chart.NonFlickerPanel p = new com.objectplanet.chart.NonFlickerPanel(new BorderLayout());
p.add("Center", chart);
Frame f = new Frame();
f.add("Center", p);
f.setSize(450,320);
f.show();
}
}


Thank you,
Eyal

Have a nice day




© 1998-2017 ObjectPlanet, Inc. Øvre Slottsgate 5, 0157 Oslo, Norway Tel (+47) 2233 3360 | Fax (+47) 2233 3361