HighCharts饼图
来源:互联网 发布:js date tostring 编辑:程序博客网 时间:2024/04/30 22:13
HighCharts官网
http://www.highcharts.com/
饼图
<!DOCTYPE HTML><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>饼图</title><script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script><script src="js/highcharts.src.js"></script><script src="js/exporting.src.js"></script><script type="text/javascript">$(function () { $('#container').highcharts({ chart: { plotBackgroundColor: null, plotBorderWidth: null, plotShadow: false }, title: { text: '2014浏览器市场份额' }, tooltip: { pointFormat: '{series.name}: <b>{point.percentage:.1f}%</b>' }, plotOptions: { pie: { allowPointSelect: true, cursor: 'pointer', dataLabels: { enabled: true, format: '<b>{point.name}</b>: {point.percentage:.1f} %', style: { color: (Highcharts.theme && Highcharts.theme.contrastTextColor) || 'black' } } } }, series: [{ type: 'pie', name: 'Browser share', data: [ ['Firefox', 45.0], ['IE', 26.8], { name: 'Chrome', y: 12.8, sliced: true, selected: true }, ['Safari', 8.5], ['Opera', 6.2], ['Others', 0.7] ] }] });}); </script></head><body><div id="container" style="min-width: 310px; height: 400px; max-width: 600px; margin: 0 auto"></div></body></html>
0 0
- HighCharts饼图
- highcharts 饼图
- Highcharts 饼图tooltip format
- extjs echarts highcharts 饼图
- highcharts
- HighCharts
- highcharts
- Highcharts
- Highcharts
- HighCharts
- Highcharts
- highcharts
- Highcharts
- Highcharts
- highcharts
- highcharts
- Highcharts
- Highcharts
- linux安装mongodb
- 通用sqlserver分页存储过程
- IIS应用地址池监控方法
- 监控---pnp4nagios 编译出错
- android面试题整理
- HighCharts饼图
- win7 获取文件管理员权限添加到鼠标右键
- 处理记录
- Linux多线程中使用信号-2
- leetcode: Distinct Subsequences
- 1.2 Lines in the plane
- JDK动态代理小例子
- selelct函数的需要原因
- sql 2008r2 无法连接sa用户,错误18456的处理方法