ordinal :In an ordinal axis, the points are equally spaced in the chart regardless of the actual time or x distance between them. This means that missing data for nights or weekends will not take up space in the chart. Defaults to true.
The HTML is rendered in a foreignObject tag in the generated SVG. The official export server is based on PhantomJS, which supports this, but other SVG clients, like Batik, does not support it.
参数 (Number centerX, Number centerY, Number outerRadius, Number innerRadius, Number start, Number end) centerX和centerY分别对应x,y的坐标,outerRadius 外弧的半径,innerRadius内弧的半径,start和end 通常为 -Math.PI/2,-Math.PI,或者0 表示弧的方向 。
circle() 用来画圆形图
参数(Number centerX, Number centerY, Number radius) centerX 表示x轴坐标,centerY表示y轴坐标,radius表示半径
g() 用来构建一个群组将元素包裹,参数只有一个 传入 名称即可
渲染后会默认变成 “highcharts-“+ name
image() 用来嵌入一张图片
参数(String source, Number x, Number y, Number width, Number height) source 图片路径,x,y为坐标,width和height为图片的宽和高
起初因为highmaps对中国地图的支持不够友好,没有台湾,澳门等,你懂的,政治问题。于是放弃了highmaps ,使用了echart的maps,毕竟国产功能也很齐全,但相比highmap,感觉echart相对比较臃肿,而且没有highmap流畅舒服。随着highmaps不断完善,highmaps已经解决了所谓的政治地域问题,特意为中国地图出了三个js版本。 China 、China with Hong Kong and Macau、China with Hong Kong, Macau, and Taiwan 先来个预览图: