Package fr.esrf.tangoatk.widget.util.chart

Examples of fr.esrf.tangoatk.widget.util.chart.JLDataView


            if(values.length == 2)
                super.imageChange(arg0);
            else
            {
                //Display a incremental index instead of the data
                JLDataView dvy = getY1Axis().getDataView(0);
                // Test if the image is prefectly squared
                if (values.length > 1 && (values[0].length == values[1].length))
                {
                    int length = values[0].length;
                    dvy.reset();
                    int index=0;
                    for (int i = 0; i < length; i++)
                    {
                        for (int j = 0; j < values[i].length; j++)
                        {
                            //System.out.println("values["+j+"]["+ i + "] = " + values[j][i]);
                            dvy.add(index, values[j][i]);
                            index++;
                        }
                    }
                    // Commit change
                    repaint();
View Full Code Here


        return markerColor;
    }
   
    public void setMarkerColor(Color markerColor) {
        this.markerColor = markerColor;
        JLDataView pointView = getY1Axis().getDataView(0);
        if (pointView != null)
            pointView.setMarkerColor(markerColor);
    }
View Full Code Here

        return markerSize;
    }
    public void setMarkerSize(int markerSize) {
        this.markerSize = markerSize;
       
        JLDataView pointView = getY1Axis().getDataView(0);
        if (pointView != null)
            pointView.setMarkerSize(markerSize);
    }
View Full Code Here

TOP

Related Classes of fr.esrf.tangoatk.widget.util.chart.JLDataView

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.