public class ChartThemeTools extends Object
| 构造器和说明 |
|---|
ChartThemeTools() |
| 限定符和类型 | 方法和说明 |
|---|---|
static Color |
getDefaultColor(int index) |
static org.jfree.chart.renderer.category.BarRenderer |
newDefaultBarRenderer(boolean isShowDataLabels,
boolean isGradient) |
static org.jfree.chart.axis.CategoryAxis |
newDefaultCategoryAxis() |
static org.jfree.chart.axis.CategoryAxis |
newDefaultCategoryAxis(String label) |
static org.jfree.chart.axis.CategoryAxis |
newDefaultCategoryAxis(String label,
boolean visible) |
static org.jfree.chart.plot.CategoryPlot |
newDefaultCategoryPlot() |
static org.jfree.chart.JFreeChart |
newDefaultChart(org.jfree.chart.plot.CategoryPlot plot) |
static org.jfree.chart.JFreeChart |
newDefaultChart(org.jfree.chart.plot.CategoryPlot plot,
String title) |
static org.jfree.chart.axis.DateAxis |
newDefaultDateAxis() |
static org.jfree.chart.axis.DateAxis |
newDefaultDateAxis(String label) |
static org.jfree.chart.axis.DateAxis |
newDefaultDateAxis(String label,
boolean visible) |
static org.jfree.chart.renderer.category.LineAndShapeRenderer |
newDefaultLineRenderer(boolean isShowDataLabels,
boolean isShapesVisible) |
static org.jfree.chart.axis.NumberAxis |
newDefaultNumberAxis() |
static org.jfree.chart.axis.NumberAxis |
newDefaultNumberAxis(String label) |
static org.jfree.chart.plot.PiePlot |
newDefaultPiePlot()
饼状图
|
static org.jfree.chart.renderer.category.LineAndShapeRenderer |
newDefaultShapeRenderer(boolean isShowDataLabels,
boolean isShapesVisible) |
static org.jfree.chart.renderer.xy.XYBarRenderer |
newDefaultTimeSeriesBarRender(boolean isShowDataLabels)
时间轴
|
static org.jfree.chart.renderer.xy.XYLineAndShapeRenderer |
newDefaultTimeSeriesRender(boolean isShowData,
boolean isShapesVisible) |
static <T extends org.jfree.chart.axis.ValueAxis> |
newDefaultValueAxis(Class<T> clazz) |
static <T extends org.jfree.chart.axis.ValueAxis> |
newDefaultValueAxis(Class<T> clazz,
String label) |
static void |
setDefaultChartTheme()
中文主题样式 解决乱码
|
static void |
setRendererSeriesColors(org.jfree.chart.renderer.AbstractRenderer renderer,
int startIndex,
int total) |
public static Color getDefaultColor(int index)
public static void setDefaultChartTheme()
public static void setRendererSeriesColors(org.jfree.chart.renderer.AbstractRenderer renderer,
int startIndex,
int total)
public static org.jfree.chart.JFreeChart newDefaultChart(org.jfree.chart.plot.CategoryPlot plot)
public static org.jfree.chart.JFreeChart newDefaultChart(org.jfree.chart.plot.CategoryPlot plot,
String title)
public static org.jfree.chart.plot.CategoryPlot newDefaultCategoryPlot()
public static org.jfree.chart.axis.CategoryAxis newDefaultCategoryAxis()
public static org.jfree.chart.axis.CategoryAxis newDefaultCategoryAxis(String label)
public static org.jfree.chart.axis.CategoryAxis newDefaultCategoryAxis(String label, boolean visible)
public static org.jfree.chart.axis.DateAxis newDefaultDateAxis()
public static org.jfree.chart.axis.DateAxis newDefaultDateAxis(String label)
public static org.jfree.chart.axis.DateAxis newDefaultDateAxis(String label, boolean visible)
public static org.jfree.chart.axis.NumberAxis newDefaultNumberAxis()
public static org.jfree.chart.axis.NumberAxis newDefaultNumberAxis(String label)
public static <T extends org.jfree.chart.axis.ValueAxis> T newDefaultValueAxis(Class<T> clazz)
public static <T extends org.jfree.chart.axis.ValueAxis> T newDefaultValueAxis(Class<T> clazz, String label)
public static org.jfree.chart.renderer.category.LineAndShapeRenderer newDefaultLineRenderer(boolean isShowDataLabels,
boolean isShapesVisible)
public static org.jfree.chart.renderer.category.LineAndShapeRenderer newDefaultShapeRenderer(boolean isShowDataLabels,
boolean isShapesVisible)
public static org.jfree.chart.renderer.category.BarRenderer newDefaultBarRenderer(boolean isShowDataLabels,
boolean isGradient)
public static org.jfree.chart.renderer.xy.XYLineAndShapeRenderer newDefaultTimeSeriesRender(boolean isShowData,
boolean isShapesVisible)
public static org.jfree.chart.renderer.xy.XYBarRenderer newDefaultTimeSeriesBarRender(boolean isShowDataLabels)
public static org.jfree.chart.plot.PiePlot newDefaultPiePlot()
Copyright © 2020. All rights reserved.