Package org.zkforge.timeplot.geometry

Examples of org.zkforge.timeplot.geometry.ValueGeometry


    @Override
    public void doAfterCompose(Component comp) throws Exception
    {
        // TODO Auto-generated method stub
        timeplot = new Timeplot();
        ValueGeometry vg = new DefaultValueGeometry();
        vg.setGridColor("#000000");
        vg.setAxisLabelsPlacement("left");
        TimeGeometry tg = new DefaultTimeGeometry();
        tg.setGridStep(2 * 60 * 60 * 1000);
        tg.setAxisLabelsPlacement("bottom");
        tg.setGridStepRange(30 * 60 * 1000);
        timeplot.setWidth("100%");
View Full Code Here


    @Override
    public void doAfterCompose(final Component comp) throws Exception
    {
        // TODO Auto-generated method stub
        timeplot = new Timeplot();
        ValueGeometry vg = new DefaultValueGeometry();
        vg.setGridColor("#000000");
        vg.setAxisLabelsPlacement("left");
        TimeGeometry tg = new DefaultTimeGeometry();
        tg.setAxisLabelsPlacement("bottom");
        timeplot.setWidth("100%");
        timeplot.setHeight("300px");
        plotinfo = new Plotinfo();
View Full Code Here

    {
        super.doAfterCompose(comp);
        databuff = initDataMode();
        ListModelList dataModel1 = new ListModelList(databuff.get(0));
        ListModelList dataModel2 = new ListModelList(databuff.get(1));
        ValueGeometry vg = new DefaultValueGeometry();
        vg.setGridColor("#000000");
        TimeGeometry tg = new DefaultTimeGeometry();
        tg.setGridStep(2 * 60 * 60 * 1000);
        tg.setAxisLabelsPlacement("bottom");
        tg.setGridStepRange(30 * 60 * 1000);
        PlotDataSource pds = new PlotDataSource();
View Full Code Here

        super.doAfterCompose(comp);

        databuff = initDataMode();
        ListModelList dataModel1 = new ListModelList(databuff.get(0));
        ListModelList dataModel2 = new ListModelList(databuff.get(1));
        ValueGeometry vg = new DefaultValueGeometry();
        vg.setGridColor("#000000");
        vg.setMin(8);
        vg.setMax(23);
        TimeGeometry tg = new DefaultTimeGeometry();
        tg.setGridStep(2 * 60 * 60 * 1000);
        bugBtn.addEventListener("onClick", new EventListener()
        {

View Full Code Here

    {
        databuff = initDataMode();
        ListModelList dataModel1 = new ListModelList(databuff.get(0));
        ListModelList dataModel2 = new ListModelList(databuff.get(1));
        ListModelList dataModel3 = new ListModelList(databuff.get(2));
        ValueGeometry vg = new DefaultValueGeometry();
        vg.setGridColor("#000000");
        TimeGeometry tg = new DefaultTimeGeometry();
        tg.setGridStep(2 * 60 * 60 * 1000);
        tg.setAxisLabelsPlacement("bottom");
        tg.setGridStepRange(30 * 60 * 1000);
        PlotDataSource pds = new PlotDataSource();
View Full Code Here

        showTimePlot();
    }

    public void showTimePlot()
    {
        ValueGeometry vg = new DefaultValueGeometry();
        vg.setGridColor("red");
        vg.setAxisLabelsPlacement("left");

        TimeGeometry tg = new DefaultTimeGeometry();
        tg.setAxisLabelsPlacement("bottom");
        tg.setFormat(TimeGeometry.FORMAT_YEAR, "YYYY");
        tg.setGridColor("red");
View Full Code Here

        Components.removeAllChildren(comp);
    }

    public void showTimePlot()
    {
        ValueGeometry vg = new DefaultValueGeometry();
        vg.setGridColor("red");
        vg.setAxisLabelsPlacement("left");

        TimeGeometry tg = new DefaultTimeGeometry();
        tg.setAxisLabelsPlacement("bottom");
        tg.setFormat(TimeGeometry.FORMAT_YEAR, "YYYY");
        tg.setGridColor("red");
View Full Code Here

        relatedPlot.setParent(div);
        Plotinfo plot1=new Plotinfo();

        plot1.setParent(relatedPlot);
       
        ValueGeometry vg = new DefaultValueGeometry();
        vg.setGridColor("red");
        vg.setAxisLabelsPlacement("left");


        TimeGeometry tg = new DefaultTimeGeometry();
        tg.setAxisLabelsPlacement("bottom");
        tg.setFormat(TimeGeometry.FORMAT_DAY, "yyyy-MM-dd hh:mm:ss");
View Full Code Here

        Timeplot relatedPlot = new Timeplot();
        relatedPlot.setHeight("300px");
        relatedPlot.setWidth("90%");

        Plotinfo plot1 = new Plotinfo();
        ValueGeometry vg = new DefaultValueGeometry();
        vg.setGridColor("red");
        vg.setAxisLabelsPlacement("left");

        TimeGeometry tg = new DefaultTimeGeometry();
        tg.setAxisLabelsPlacement("bottom");
        tg.setGridColor("red");
        plot1.setValueGeometry(vg);
View Full Code Here

            // If user doesn't select any indicator, it is needed to create
            // a default Plotinfo in order to avoid errors on Timemplot
            plotinfos.add(new Plotinfo());
        }

        ValueGeometry valueGeometry = getValueGeometry();
        TimeGeometry timeGeometry = getTimeGeometry(interval);

        for (Plotinfo plotinfo : plotinfos) {
            appendPlotinfo(chart, plotinfo, valueGeometry, timeGeometry);
        }
View Full Code Here

TOP

Related Classes of org.zkforge.timeplot.geometry.ValueGeometry

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.