类 XY1DPlot

    • 构造器详细资料

      • XY1DPlot

        public XY1DPlot()
        Constructor
      • XY1DPlot

        public XY1DPlot​(XYDataset dateset)
        Constructor
        参数:
        dateset - Dataset
      • XY1DPlot

        public XY1DPlot​(PlotOrientation orientation,
                        XYDataset dateset)
        Constructor
        参数:
        orientation - Plot orientation
        dateset - Dataset
      • XY1DPlot

        public XY1DPlot​(boolean isTime,
                        XYDataset dateset)
        Constructor
        参数:
        isTime - If x axis is time
        dateset - Dataset
      • XY1DPlot

        public XY1DPlot​(boolean isTime,
                        ChartPlotMethod cpMethod,
                        XYDataset dateset)
        Constructor
        参数:
        isTime - If x axis is time
        cpMethod - Plot method
        dateset - Dataset
      • XY1DPlot

        public XY1DPlot​(boolean isTime,
                        PlotOrientation orientation,
                        XYDataset dateset)
        Constructor
        参数:
        isTime - If x axis is time
        orientation - Plot orientation
        dateset - Dataset
    • 方法详细资料

      • getDataset

        public XYDataset getDataset()
        从类复制的说明: Plot
        Get dataset
        指定者:
        getDataset 在类中 Plot
        返回:
        Dataset
      • setDataset

        public void setDataset​(Dataset value)
        从类复制的说明: Plot
        Set dataset
        指定者:
        setDataset 在类中 Plot
        参数:
        value - Dataset
      • getChartPlotMethod

        public ChartPlotMethod getChartPlotMethod()
        Get chart plot method
        返回:
        Chart plot method
      • setChartPlotMethod

        public void setChartPlotMethod​(ChartPlotMethod value)
        Set chart plot method
        参数:
        value - Chart plot method
      • getLegendBreaks

        public java.util.List<SeriesLegend> getLegendBreaks()
        Get Series legend breaks
        返回:
        Series legend breaks
      • isUseBreak2D

        public boolean isUseBreak2D()
        If use item 2D point breaks
        返回:
        Boolean
      • setUseBeak2D

        public void setUseBeak2D​(boolean value)
        Set if use item 2D point breaks
        参数:
        value - Boolean
      • getBarWidth

        public float getBarWidth()
        Get bar width ratio
        返回:
        Bar width ratio
      • setBarWidth

        public void setBarWidth​(float value)
        Set bar width ratio
        参数:
        value - Bar width ratio
      • isAutoBarWidth

        public boolean isAutoBarWidth()
        Get if automatically decide bar width
        返回:
        Boolean
      • setAutoBarWidth

        public void setAutoBarWidth​(boolean value)
        Set if automatically decide bar height
        参数:
        value - Boolean
      • addSeries

        public void addSeries​(java.lang.String seriesKey,
                              double[] xvs,
                              double[] yvs)
        Add a series data
        参数:
        seriesKey - Series key
        xvs - X value array
        yvs - Y value array
      • removeLastSeries

        public void removeLastSeries()
        Remove last series
      • getItemPointBreak

        public PointBreak getItemPointBreak​(int seriesIdx,
                                            int itemIdx)
        Get a item point break
        参数:
        seriesIdx - Series index
        itemIdx - Item index
        返回:
        Item point break;
      • setItemPointBreak

        public void setItemPointBreak​(int seriesIdx,
                                      int itemIdx,
                                      PointBreak pb)
        Set item point break
        参数:
        seriesIdx - Series index
        itemIdx - Item index
        pb - Item point break
      • getLegendBreak

        public ColorBreak getLegendBreak​(int seriesIdx)
        Get legend break
        参数:
        seriesIdx - Series index
        返回:
        Legend break
      • setLegendBreak

        public void setLegendBreak​(int seriesIdx,
                                   ColorBreak cb)
        Set legend break
        参数:
        seriesIdx - Series index
        cb - Legend break
      • setLegendBreak

        public void setLegendBreak​(int seriesIdx,
                                   SeriesLegend sLegend)
        Set series legend
        参数:
        seriesIdx - Series index
        sLegend - SeriesLegend
      • getAutoExtent

        public Extent getAutoExtent()
        Get auto extent
        返回:
        Auto extent
      • getLegendScheme

        public LegendScheme getLegendScheme()
        Get legend scheme
        返回:
        Legend scheme