Scientific/Css/ichartjs/samples/html/combination2d_01.html
(开头部分) 4KB这里只显示每个文件的开头 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 : 'Alex',value : 10,color:'#8658a5'},
{name : 'Mark',value : 30,color:'#4ac2db'},
{name : 'David',value : 40,color:'#dd4b4b'},
{name : 'Graham',value : 55,color:'#add14f'},
{name : 'John',value : 70,color:'#f47721'}
];
//是否启用动画
var animation = false;
var chart = new iChart.Column2D({
render : 'canvasDiv',
data: data,
title : {
text : 'This is a sample for Combination',
color : '#3e576f'
},
subtitle : {
text : 'Top 5 Sales Person,2011',
color : '#6d869f'
},
footnote : {
text : 'ichartjs.com',
color : '#909090',
fontsize : 11,
padding : '0 38'
},
width : 800,
height : 400,
animation : animation,
animation_duration:600,
shadow : true,
shadow_blur : 2,
shadow_color : '#aaaaaa',
shadow_offsetx : 1,
shadow_offsety : 0,
column_width : 68,
label:{
color:'#4c4f48'
},
sub_option:{
label : {
color : '#4c4f48'
},
listeners:{
parseText:function(r,t){
//自定义柱形图上方label的格式。
return '$'+t+'k';
后面还有 105 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。