Car/Css/ichartjs/samples/html/animation_column2d_01.html
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>ichartjs 示例</title>
<meta name="Description" content="The ichartjs's gallery center,ichartjs 示例中心" />
<meta name="Keywords" content="ichartjs demo,Html5 demo,ichartjs示例,ichartjs示例,Html5示例,Html5示例" />
<script type="text/javascript" src="../../ichart.1.2.1.min.js"></script>
<link rel="stylesheet" href="../css/demo.css" type="text/css" />
<script type="text/javascript">
$(function() {
var data = [
{name : 'MISE',value : 55.11,color : '#4572a7'},
{name : 'Firefox',value : 29.84,color : '#aa4643'},
{name : 'Chrome',value : 24.88,color : '#89a54e'},
{name : 'Safari',value : 6.77,color : '#80699b'},
{name : 'Opera',value : 2.02,color : '#3d96ae'}
];
var chart = new iChart.Column2D({
render : 'canvasDiv',
data : data,
title : {
text : 'This is a sample spirit from HighCharts',
color : '#3e576f'
},
subtitle : {
text : 'Browser market share,April,2011 from 1 to 29 Feb 2012',
color : '#6d869f'
},
footnote : {
text : 'ichartjs.com',
color : '#909090',
fontsize : 11,
padding : '0 38'
},
width : 800,
height : 400,
label : {
fontsize:11,
color : '#666666'
},
animation : true,//开启过渡动画
animation_duration:800,//800ms完成动画
shadow : true,
shadow_blur : 2,
shadow_color : '#aaaaaa',
shadow_offsetx : 1,
shadow_offsety : 0,
column_width : 62,
sub_option : {
listeners : {
parseText : function(r, t) {
return t + "%";
}
},
label : {
fontsize:11,
fontweight:600,
color : '#4572a7'
后面还有 72 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
