Scientific/Css/ichartjs/samples/html/column2d_06.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 : 'MAY\n2011',value : 0.4,color : '#c52120'},
{name : 'JUN\n2011',value : 0.6,color : '#c52120'},
{name : 'JUL\n2011',value : 1,color : '#c52120'},
{name : 'AUG\n2011',value : 1.2,color : '#c52120'},
{name : 'SEP\n2011',value : 2,color : '#c52120'},
{name : 'OCT\n2011',value : 3.2,color : '#c52120'},
{name : 'NOV\n2011',value : 4.8,color : '#c52120'},
{name : 'DEC\n2011',value : 7.8,color : '#c52120'},
{name : 'JAN\n2012',value : 11.8,color : '#c52120'}
];
var chart = new iChart.Column2D({
render : 'canvasDiv',
data : data,
title:{
text:'The Rise of Pinterest',
color:'#4572a7',
textAlign:'left',
padding:'0 40',
border:{
enable:true,
width:[0,0,4,0],
color:'#4572a7'
},
height:40
},
footnote : {
text : 'source:comScore',
height:30,
color:'#c52120',
fontweight : 600,
padding : '0 40'
},
width : 800,
height : 400,
padding:0,
label : {
fontsize:11,
fontweight:600,
color : '#666666'
},
shadow : true,
shadow_blur : 2,
shadow_color : '#aaaaaa',
shadow_offsetx : 1,
shadow_offsety : 0,
background_color : '#f7f7f7',
column_width : 62,
后面还有 75 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。