Package org.zkforge.timeplot.data

Examples of org.zkforge.timeplot.data.PlotData


        ListModelList model = new ListModelList();
        Calendar cal = Calendar.getInstance();
        for (int j = 0; j < 10; j++)
        {

            PlotData data = new PlotData();
            cal.add(Calendar.MINUTE, j);
            data.setTime(cal.getTime());

            float i = 0.0f;
 
            i=(float) (1.0-0.42);
            System.out.println(1.0-0.42);
            System.out.println("i:"+i);
            data.setValue(i);
            model.add(data);
        }

        plot1.setDataModel(model);
        plot1.setDotColor("#000000");
View Full Code Here


        ListModelList model = new ListModelList();
        Calendar cal = Calendar.getInstance();
        for (int j = 0; j < 10; j++)
        {

            PlotData data = new PlotData();
            cal.add(Calendar.MINUTE, j);
            data.setTime(cal.getTime());

            float i = 0.0f;
 
            i=(float) (1.0-0.42);
//            System.out.println(1.0-0.42);
//            System.out.println("i:"+i);
            data.setValue(i);
            model.add(data);
        }

        plot1.setDataModel(model);
        plot1.setDotColor("#000000");
View Full Code Here

        ListModelList model = new ListModelList();
        Calendar cal = Calendar.getInstance();
        for (int j = 0; j < 10; j++)
        {

            PlotData data = new PlotData();
            cal.add(Calendar.MINUTE, j);
            data.setTime(cal.getTime());

            float i = 0.0f;
 
            i=(float) (1.0-0.42);
            System.out.println(1.0-0.42);
            System.out.println("i:"+i);
            data.setValue(i);
            model.add(data);
        }

        plot1.setDataModel(model);
        plot1.setDotColor("#000000");
View Full Code Here

        ListModelList model = new ListModelList();
        Calendar cal = Calendar.getInstance();
        cal.setTime(now);
        for (int j = 0; j < 10; j++)
        {
            PlotData data = new PlotData();
            Map _customValues = new HashMap();
            _customValues.put("reliability", j);
      data.setCustomValues(_customValues );
     
     
            cal.add(Calendar.DATE, j);
            data.setFormat("yyyy/MM/dd HH:mm:ss");
            data.setTime(cal.getTime());
//            data.setReliability(j);
            data.setValue(records.get(j));
            model.add(data);
        }

        plot1.setDataModel(model);
        plot1.setEventSourceUri("");
View Full Code Here

TOP

Related Classes of org.zkforge.timeplot.data.PlotData

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.