

【笔记】在Hexo中渲染Echarts图表
source link: https://loli.fj.cn/2023/06/18/%E5%9C%A8Hexo%E4%B8%AD%E6%B8%B2%E6%9F%93Echarts%E5%9B%BE%E8%A1%A8/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

【笔记】在Hexo中渲染Echarts图表
2023-06-18
在Hexo中渲染Echarts图表
npm install hexo-tag-echarts-new
hexo-tag-echarts
与hexo-tag-echarts3
的作者已经长期为更新,而且在引入模块后仍然需要通过<script></script>
标签手动引入echarts.js
文件,但是hexo-tag-echarts-new
模块在使用时不需要通过<script></script>
标签手动引入echarts.js
文件
在md文件内引入Echarts图表
300
:指定Echarts的宽度400
:指定Echarts的高度
{% echarts 300 400 %}
// 在此处直接编辑Echarts的option对象
{
xAxis: {
type: 'category',
data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
},
yAxis: {
type: 'value'
},
series: [
{
data: [150, 230, 224, 218, 135, 147, 260],
type: 'line'
}
]
}
{% endecharts %}
d-sketon的博客
D-Sketon/hexo-tag-echarts-new
KChen’s Blog
kchen0x/hexo-tag-echarts3
tea3/hexo-tag-twentytwenty
稀土掘金——已注销
Recommend
-
76
最近阿里正式开源的BizCharts图表库基于React技术栈,各个图表项皆采用了组件的形式,贴近React的使用特点。同时BizCharts基于G2进行封装,Bizcharts也继承了G2相关特性。公司目前统一使用的是ECharts图表库,下文将对3种图表库进行分析比...
-
33
ECharts是一款由百度前端技术部开发的,基于Javascript的数据可视化图表库,提供直观,生动,可交互,可个性化定制的数据可视化图表。 使用 JavaScript 实现开源的可视化库,可以流畅的运行在 PC 和移动设备上,兼容当前绝大部分浏...
-
13
最近做项目接到新的需求,根据本身系统结构数据做一个图形化展示,要求好看易用,有交互,就说了这么多,然后就要求两天给一版瞅瞅,MMP,真把前端当神了(你倒是把待遇提到神的地位啊...) 唉,吐槽归吐槽,还得做,主要是丢不起这个脸.....
-
18
数据可视化嵌入实验 为啥想做这个 想在hugo博客里写一些数据可视化的作品,感觉echarts的可交互性最好,故在网上搜索嵌入方法。看到最好的解决方案是前端大神Alili的一篇博文
-
11
官网: https://echarts.apache.org/zh...配置文档:https://echarts.apache.org/z...
-
12
Vue封装Echarts图表准备工作在开始之前,我们先按照正常的组件注册流程,在项目 components 目录中新建一个名为 radar-chart 的组件,然后在一个 Demo 页面引入该...
-
7
使用 Apache ECharts 呈现社区活动的渲染图 2021 年 8 月 25 日
-
4
将echarts生成的图表变为图片保存起来一:echartsecharts官网:
-
9
Demo 地址先上 demo 地址https://codepen.io/firstblood...项目背景随着 面向领导编程 越来越深入人心, 看板 项目想...
-
9
React Echarts 使用教程 - 如何在 React 中加入图表(内附数据看板实战搭建案例)stone前端工程师最近更新 202...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK