Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

highcharts2javatag

通过自定义标签实现highcharts 3D图表展示,借鉴了Android适配器的思想,通过固定的数据源,展现相关图表,无需考虑图表内部实现。

演示地址: http://dtmonitor.tunnel.qydev.com/highcharts2javatag/

官网地址: https://projectlombok.org/

官网使用说明: http://jnb.ociweb.com/jnb/jnbJan2010.html

java -jar lombok.jar

Maven:

<dependency>
    <groupId>com.google.code.gson</groupId>
    <artifactId>gson</artifactId>
    <version>[2.6.2,)</version>
</dependency>

3D条形(柱状)图Bar的Tag:

	<highcharts:bar3d 
		id="bar3d" 
		title="烟气图表汇总-除硫" 
		subtitle="烟气图表汇总-除硫" 
		x_categories_type="diy"
		yunitname="立方米(㎥)"
		xlist="${xlist}"
		ylist="${ylist}"/>

3D条形(柱状)图Bar的数据格式:

private List<String> xlist;

private Map<String,List<Double>> ylist;

3D饼状图Pie的Tag:

	<highcharts:pie3d
		id="pie" 
		title="烟气图表汇总-除硫" 
		subtitle="烟气图表汇总-除硫" 
		legendMap="${legendMap}"/>

3D饼状图Pie的数据格式:

private Map<String,Object> legendMap;

折线图line的Tag:

	<highcharts:bar3d 
		id="bar3d" 
		title="烟气图表汇总-除硫" 
		subtitle="烟气图表汇总-除硫" 
		x_categories_type="diy"
		yunitname="立方米(㎥)"
		xlist="${xlist}"
		ylist="${ylist}"/>

折线图line的数据格式:

private List<String> xlist;

private Map<String,List<Double>> ylist;

Comments ( 0 )

Sign in for post a comment

About

通过自定义标签实现highcharts 3D图表展示,借鉴了Android适配器的思想,通过固定的数据源,展现相关图表,无需考虑图表内部实现。 spread retract
Cancel

Releases

No release

Contributors

All

Activities

load more
can not load any more