logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

mac zsh环境变量不生效

终端利器 iTerm2 + oh my zshiTerm2官网:https://iterm2.com/下载后是一个zip文件,加压后直接运行即可。oh-my-zsh官网:https://ohmyz.sh/oh-my-zsh主题配置:https://github.com/ohmyzsh/ohmyzsh/wiki/themes安装命令如下:$ sh -c "$(curl -fsSL https://r

#macos
vscode git bash终端配置:terminal.integrated.profiles.windows

旧版VScode 的 git bash 终端配置如下:"terminal.integrated.shell.windows": "D:\\Program Files\\Git\\bin\\bash.exe"当VSCode升级至1.57.1(2021.6.17)时,会出现警告提示:此项已弃用,配置默认 shell 的新推荐方法是在 #terminal.integrated.profiles.wind

#bash
Echarts legend图例大小自定义

let option = {grid: {left: 0,right: 12,bottom: 0,top: 68,containLabel: true,},// 图例设置legend: {top: 32,left: -5,icon: "circle", // 修改形状itemHeight: 6, // 修改icon图形大小itemGap: 24, // 修改间距textSty

#前端
Echarts 柱状图上方显示数值

完整配置可查看 Echarts Bar横向柱状图柱体的属性设置series中label可以是一个函数,在函数中处理。可以设置位置,字体颜色和大小等。核心代码为params.value[params.encode.x[0]]。let series = [{// ......type: "bar",label: {// 柱图头部显示值show: true,position: "right",color

Echarts legend图例大小自定义

let option = {grid: {left: 0,right: 12,bottom: 0,top: 68,containLabel: true,},// 图例设置legend: {top: 32,left: -5,icon: "circle", // 修改形状itemHeight: 6, // 修改icon图形大小itemGap: 24, // 修改间距textSty

#前端
Echarts折线图超详细超细节配置

系列文章:Echart Bar 柱状图样式详解Echarts Bar 横向柱状图Echarts 图标样式个性化设置,如 x 轴间距,y 轴样式,图例自定义,提示框自定义,数据列悬浮高亮,坐标指示器背景渐变色等等,解决折磨人的细节样式问题。基础配置title 标题组件let title = {text: "累计消费趋势", // 标题subtext: "同比上年同期,累计消费增加200元", //

#echarts
Echarts bar 柱状图超详细实战

在最近的项目中,有可视化图表的需求,第一时间就想到了Echarts和Hightcharts。要用到的可视化图表都是比较常见的,Echarts文档和实例都比较全面,而且还是中文的,方便阅读,于是选择了Echarts。Echarts的图表样式如果是自用,肯定是没啥问题的,但是 UI 肯定是不满意的,于是进行了一系列的样式调整…安装及配置前端框架为easywebpack-vue,使用的Echarts版本

#echarts
CSS设置背景和渐变色

1. 添加背景色纯色背景:用background-color渐变背景:用line-gradient,也可以一次用多个div {background-color: red;}div {/* 单个渐变背景 */background: linear-gradient(to bottom, red, green);background: linear-gradient(to bottom, red, gr

#css
暂无文章信息