本文整理汇总了Java中org.jfree.chart.plot.SpiderWebPlot.setLabelFont方法的典型用法代码示例。如果您正苦于以下问题:Java SpiderWebPlot.setLabelFont方法的具体用法?Java SpiderWebPlot.setLabelFont怎么用?Java SpiderWebPlot.setLabelFont使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.jfree.chart.plot.SpiderWebPlot
的用法示例。
在下文中一共展示了SpiderWebPlot.setLabelFont方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getRadarChart
import org.jfree.chart.plot.SpiderWebPlot; //导入方法依赖的package包/类
private JFreeChart getRadarChart( BaseChart chart, CategoryDataset dataSet )
{
SpiderWebPlot plot = new SpiderWebPlot( dataSet, TableOrder.BY_ROW );
plot.setLabelFont( LABEL_FONT );
JFreeChart radarChart = new JFreeChart( chart.getName(), TITLE_FONT, plot, !chart.isHideLegend() );
setBasicConfig( radarChart, chart );
return radarChart;
}
示例2: applyToSpiderWebPlot
import org.jfree.chart.plot.SpiderWebPlot; //导入方法依赖的package包/类
/**
* Applies the attributes of this theme to a {@link SpiderWebPlot}.
*
* @param plot the plot (<code>null</code> not permitted).
*/
protected void applyToSpiderWebPlot(SpiderWebPlot plot) {
plot.setLabelFont(this.regularFont);
plot.setLabelPaint(this.axisLabelPaint);
plot.setAxisLinePaint(this.axisLabelPaint);
}
示例3: applyToSpiderWebPlot
import org.jfree.chart.plot.SpiderWebPlot; //导入方法依赖的package包/类
/**
* Applies the attributes of this theme to a {@link SpiderWebPlot}.
*
* @param plot the plot ({@code null} not permitted).
*/
protected void applyToSpiderWebPlot(SpiderWebPlot plot) {
plot.setLabelFont(this.regularFont);
plot.setLabelPaint(this.axisLabelPaint);
plot.setAxisLinePaint(this.axisLabelPaint);
}
示例4: initChart_post_data_init
import org.jfree.chart.plot.SpiderWebPlot; //导入方法依赖的package包/类
@Override
public void initChart_post_data_init(final IScope scope) {
// TODO Auto-generated method stub
super.initChart_post_data_init(scope);
final SpiderWebPlot pp = (SpiderWebPlot) chart.getPlot();
// final String sty = getStyle();
// this.useSubAxis=false;
// switch (sty) {
// default: {
if (this.series_label_position.equals("default")) {
this.series_label_position = "legend";
}
// break;
// }
// }
if (this.series_label_position.equals("xaxis")) {
// this.useSubAxis=true;
}
if (!this.series_label_position.equals("legend")) {
chart.getLegend().setVisible(false);
// legend is useless, but I find it nice anyway... Could put back...
}
this.resetDomainAxis(scope);
pp.setAxisLinePaint(axesColor);
pp.setLabelFont(getLabelFont());
if (textColor != null) {
pp.setLabelPaint(textColor);
}
if (ylabel != null && ylabel != "") {}
if (this.series_label_position.equals("yaxis")) {
// pp.getRangeAxis().setLabel(this.getChartdataset().getDataSeriesIds(scope).iterator().next());
chart.getLegend().setVisible(false);
}
chart.getLegend().setVisible(true);
if (xlabel != null && xlabel != "") {
// pp.getDomainAxis().setLabel(xlabel);
}
if (this.series_label_position.equals("none"))
pp.setLabelPaint(this.backgroundColor);
}