Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Dashboards
Tabler
提交
ed6285ff
T
Tabler
项目概览
Dashboards
/
Tabler
11 个月 前同步成功
通知
0
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
Tabler
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
ed6285ff
编写于
6月 13, 2019
作者:
C
chomik
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
charts fixes
上级
9137ccaf
变更
4
显示空白变更内容
内联
并排
Showing
4 changed file
with
36 addition
and
8 deletion
+36
-8
js/app/charts.js
js/app/charts.js
+1
-1
pages/_data/charts.yml
pages/_data/charts.yml
+31
-3
pages/_includes/js/charts.html
pages/_includes/js/charts.html
+3
-3
pages/charts.html
pages/charts.html
+1
-1
未找到文件。
js/app/charts.js
浏览文件 @
ed6285ff
...
...
@@ -93,7 +93,7 @@ if (window.Apex) {
},
legend
:
{
show
:
fals
e
show
:
tru
e
},
title
:
{
...
...
pages/_data/charts.yml
浏览文件 @
ed6285ff
...
...
@@ -49,6 +49,35 @@ employment:
color
:
green
data
:
[
17
,
18
,
21
,
20
,
30
,
29
]
line-chart-stroke
:
name
:
Line chart
display
:
true
type
:
line
stroke-curve
:
straight
hide-legend
:
true
categories
:
[
'
2013'
,
'
2014'
,
'
2015'
,
'
2016'
,
'
2017'
,
'
2018'
,
'
2019'
]
series
:
-
name
:
Development
color
:
orange
data
:
[
8
,
10
,
11
,
12
,
20
,
27
,
30
]
-
name
:
Marketing
color
:
blue
data
:
[
3
,
16
,
17
,
19
,
20
,
30
,
30
]
-
name
:
Sales
color
:
green
data
:
[
7
,
10
,
11
,
18
,
18
,
18
,
24
]
stepline-chart
:
name
:
Stepline
display
:
true
type
:
line
hide-legend
:
true
stroke-curve
:
stepline
series
:
-
name
:
Development
color
:
orange
data
:
[
34
,
44
,
54
,
21
,
12
,
43
,
33
,
23
,
66
,
66
,
58
]
temperature
:
name
:
Monthly Average Temperature
display
:
true
...
...
@@ -199,7 +228,6 @@ pie:
name
:
Lorem ipsum
display
:
true
type
:
pie
hide-legend
:
true
series
:
-
name
:
A
color
:
blue-darker
...
...
@@ -218,7 +246,6 @@ donut:
name
:
Lorem ipsum
display
:
true
type
:
donut
hide-legend
:
true
series
:
-
name
:
Maximum
color
:
green
...
...
@@ -280,6 +307,7 @@ new-clients:
days-labels-count
:
30
sparkline
:
true
dashed-history
:
true
hide-legend
:
true
series
:
-
name
:
May
color
:
blue
...
...
@@ -326,7 +354,7 @@ usd-eur:
type
:
line
days-labels-count
:
30
auto-min
:
true
stroke-
straight
:
true
stroke-
curve
:
straight
series
:
-
name
:
USD/EUR
color
:
black
...
...
pages/_includes/js/charts.html
浏览文件 @
ed6285ff
...
...
@@ -26,14 +26,14 @@ $(document).ready(function(){
},
{
%
endif
%
}
{
%
if
data
.
dashed
-
history
or
data
.
stroke
-
straight
%
}
{
%
if
data
.
dashed
-
history
or
data
.
stroke
-
curve
%
}
stroke
:
{
{
%
if
data
.
dashed
-
history
%
}
width
:
[
2
,
1
],
dashArray
:
[
0
,
3
],
{
%
endif
%
}
{
%
if
data
.
stroke
-
straight
%
}
curve
:
'
straight
'
,
{
%
if
data
.
stroke
-
curve
%
}
curve
:
'
{{ data.stroke-curve }}
'
,
{
%
endif
%
}
},
{
%
endif
%
}
...
...
pages/charts.html
浏览文件 @
ed6285ff
...
...
@@ -11,7 +11,7 @@ menu: charts
<div
class=
"col-lg-6 col-xl-4"
>
<div
class=
"card"
>
<div
class=
"card-header"
>
<h3
class=
"card-title"
>
{{ chart[1].name }}
{{ chart[0] }}
</h3>
<h3
class=
"card-title"
>
{{ chart[1].name }}
</h3>
</div>
<div
class=
"card-body"
>
<div
id=
"{{ key }}"
style=
"height: 16rem"
></div>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录