Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenDocCN
LoveIt
提交
12eb0842
L
LoveIt
项目概览
OpenDocCN
/
LoveIt
通知
3
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
L
LoveIt
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
12eb0842
编写于
3月 10, 2020
作者:
D
Dillon
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix(header): fix select label
上级
d42f15b0
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
25 addition
and
29 deletion
+25
-29
exampleSite/content/posts/theme-documentation-shortcodes.zh-cn.md
...ite/content/posts/theme-documentation-shortcodes.zh-cn.md
+1
-1
layouts/partials/header.html
layouts/partials/header.html
+24
-28
未找到文件。
exampleSite/content/posts/theme-documentation-shortcodes.zh-cn.md
浏览文件 @
12eb0842
...
...
@@ -598,7 +598,7 @@ pie
ECharts 提供了常规的
[
折线图
](
https://echarts.apache.org/zh/option.html#series-line
)
,
[
柱状图
](
https://echarts.apache.org/zh/option.html#series-line
)
,
[
散点图
](
https://echarts.apache.org/zh/option.html#series-scatter
)
,
[
饼图
](
https://echarts.apache.org/zh/option.html#series-pie
)
,
[
K线图
](
https://echarts.apache.org/zh/option.html#series-candlestick
)
, 用于统计的
[
盒形图
](
https://echarts.apache.org/zh/option.html#series-boxplot
)
, 用于地理数据可视化的
[
地图
](
https://echarts.apache.org/zh/option.html#series-map
)
,
[
热力图
](
https://echarts.apache.org/zh/option.html#series-heatmap
)
,
[
线图
](
https://echarts.apache.org/zh/option.html#series-lines
)
, 用于关系数据可视化的
[
关系图
](
https://echarts.apache.org/zh/option.html#series-graph
)
,
[
treemap
](
https://echarts.apache.org/zh/option.html#series-treemap
)
,
[
旭日图
](
https://echarts.apache.org/zh/option.html#series-sunburst
)
, 多维数据可视化的
[
平行坐标
](
https://echarts.apache.org/zh/option.html#series-parallel
)
, 还有用于 BI 的
[
漏斗图
](
https://echarts.apache.org/zh/option.html#series-funnel
)
,
[
仪表盘
](
https://echarts.apache.org/zh/option.html#series-gauge
)
, 并且支持图与图之间的混搭.
只需在
`echarts`
shortcode 中以
`JSON`
/
`YAML`
/
`TO
ML`
格式插入 ECharts 选项即可.
只需在
`echarts`
shortcode 中以
`JSON`
/
`YAML`
/
`TOML`
格式插入 ECharts 选项即可.
一个
`JSON`
格式的
`echarts`
示例:
...
...
layouts/partials/header.html
浏览文件 @
12eb0842
...
...
@@ -15,23 +15,21 @@
{{- if .Site.IsMultiLingual -}}
|
<a
href=
"javascript:void(0);"
class=
"menu-item"
title=
"{{ T "
selectLanguage
"
}}"
>
<label
for=
"language-select-desktop"
>
<i
class=
"fas fa-language fa-fw"
></i>
<select
class=
"language-select"
id=
"language-select-desktop"
onchange=
"location = this.value;"
>
{{- range .Page.AllTranslations -}}
{{- $translation := . -}}
{{- range $.Site.Languages -}}
{{- if eq $translation.Lang .Lang -}}
{{- if eq $.Page.Lang .Lang -}}
<option
value=
"{{ $translation.RelPermalink }}"
selected
>
{{ .LanguageName }}
</option>
{{- else -}}
<option
value=
"{{ $translation.RelPermalink }}"
>
{{ .LanguageName }}
</option>
{{- end -}}
<i
class=
"fas fa-language fa-fw"
></i>
<select
class=
"language-select"
onchange=
"location = this.value;"
>
{{- range .Page.AllTranslations -}}
{{- $translation := . -}}
{{- range $.Site.Languages -}}
{{- if eq $translation.Lang .Lang -}}
{{- if eq $.Page.Lang .Lang -}}
<option
value=
"{{ $translation.RelPermalink }}"
selected
>
{{ .LanguageName }}
</option>
{{- else -}}
<option
value=
"{{ $translation.RelPermalink }}"
>
{{ .LanguageName }}
</option>
{{- end -}}
{{- end -}}
{{- end -}}
</select>
</
label
>
{{- end -}}
</
select
>
</a>
{{- end -}}
<a
href=
"javascript:void(0);"
class=
"theme-switch"
title=
"{{ T "
switchTheme
"
}}"
>
...
...
@@ -63,23 +61,21 @@
{{- end -}}
{{- if .Site.IsMultiLingual -}}
<a
href=
"javascript:void(0);"
class=
"menu-item"
title=
"{{ T "
selectLanguage
"
}}"
>
<label
for=
"language-select-mobile"
>
<i
class=
"fas fa-language fa-fw"
></i>
<select
class=
"language-select"
id=
"language-select-mobile"
onchange=
"location = this.value;"
>
{{- range .Page.AllTranslations -}}
{{- $translation := . -}}
{{- range $.Site.Languages -}}
{{- if eq $translation.Lang .Lang -}}
{{- if eq $.Page.Lang .Lang -}}
<option
value=
"{{ $translation.RelPermalink }}"
selected
>
{{ .LanguageName }}
</option>
{{- else -}}
<option
value=
"{{ $translation.RelPermalink }}"
>
{{ .LanguageName }}
</option>
{{- end -}}
<i
class=
"fas fa-language fa-fw"
></i>
<select
class=
"language-select"
onchange=
"location = this.value;"
>
{{- range .Page.AllTranslations -}}
{{- $translation := . -}}
{{- range $.Site.Languages -}}
{{- if eq $translation.Lang .Lang -}}
{{- if eq $.Page.Lang .Lang -}}
<option
value=
"{{ $translation.RelPermalink }}"
selected
>
{{ .LanguageName }}
</option>
{{- else -}}
<option
value=
"{{ $translation.RelPermalink }}"
>
{{ .LanguageName }}
</option>
{{- end -}}
{{- end -}}
{{- end -}}
</select>
</
label
>
{{- end -}}
</
select
>
</a>
{{- end -}}
<a
href=
"javascript:void(0);"
class=
"theme-switch"
title=
"{{ T "
switchTheme
"
}}"
>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录