本文整理汇总了Java中com.googlecode.wickedcharts.highcharts.options.CreditOptions类的典型用法代码示例。如果您正苦于以下问题:Java CreditOptions类的具体用法?Java CreditOptions怎么用?Java CreditOptions使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
CreditOptions类属于com.googlecode.wickedcharts.highcharts.options包,在下文中一共展示了CreditOptions类的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: StockOptions
import com.googlecode.wickedcharts.highcharts.options.CreditOptions; //导入依赖的package包/类
public StockOptions() {
setCredits(new CreditOptions().setEnabled(false));
setTooltip(new StockTooltip());
setLegend(new Legend().setEnabled(true));
setExporting(new ExportingOptions().setEnabled(false));
setScrollbar(new Scrollbar());
//http://stackoverflow.com/questions/14330793/how-to-completely-disable-the-mouse-finger-interaction-for-highcharts
setChart(new StockChartOptions());
}
开发者ID:subes,项目名称:invesdwin-nowicket,代码行数:10,代码来源:StockOptions.java
示例2: ColumnChartOptions
import com.googlecode.wickedcharts.highcharts.options.CreditOptions; //导入依赖的package包/类
public ColumnChartOptions(final ChartConfiguration configuration) {
this.eventType = configuration.getEventType();
this.attributeName = configuration.getAttributeName();
this.attributeType = configuration.getAttributeType();
this.rangeSize = configuration.getRangeSize();
this.title = configuration.getTitle();
this.setChartOptions(new ChartOptions().setType(SeriesType.COLUMN));
this.setGlobal(new Global().setUseUTC(Boolean.TRUE));
this.setTitle(new Title(this.title));
this.setxAxis(new Axis().setCategories(this.eventType.getTypeName()).setTitle(new Title(null)));
this.setyAxis(new Axis().setTitle(new Title("Frequency").setAlign(HorizontalAlignment.HIGH)).setLabels(new Labels().setOverflow(Overflow.JUSTIFY)));
this.setTooltip(new Tooltip().setFormatter(new Function("return ''+this.series.name +': '+ this.y;")));
this.setPlotOptions(new PlotOptionsChoice().setBar(new PlotOptions().setDataLabels(new DataLabels().setEnabled(Boolean.TRUE))));
this.setLegend(new Legend().setLayout(LegendLayout.VERTICAL).setAlign(HorizontalAlignment.RIGHT).setVerticalAlign(VerticalAlignment.TOP).setX(-100).setY(100).setFloating(Boolean.TRUE).setBorderWidth(1).setBackgroundColor(new HexColor("#ffffff")).setShadow(Boolean.TRUE));
this.setCredits(new CreditOptions().setEnabled(Boolean.FALSE));
for (final SimpleSeries serie : this.buildSeries()) {
this.addSeries(serie);
}
}
开发者ID:bptlab,项目名称:Unicorn,代码行数:31,代码来源:ColumnChartOptions.java
注:本文中的com.googlecode.wickedcharts.highcharts.options.CreditOptions类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论