web建站教程
  1. 首页
  2. vuejs
  3. js
  4. 好玩
  5. AIGC工具
  6. 前端知识
  7. 百度echarts
  8. 更多
    php入门
    nodejs
    mockjs
    reactjs
    mysql
    wordpress
    织梦cms
    帝国cms
    git教程
    IT知识
    模板大全
    休息站
    手机应用

百度echarts如何对不同折线图设置不同颜色

1065 ℃
series: [
  {
    name: '折线图1',
    type: 'line',
    data: [111, 222, 333, 444, 111, 222, 333, 444, 111],
    itemStyle: {
      normal: {
        color: '#15CE89',
        lineStyle: {
          color: '#15CE89'
        }
      }
    },
    showSymbol: true,
    smooth: 0.6, //拐点圆形
    symbol: 'circle', //形状 'circle’, 'rect’, 'roundRect’, 'triangle’, 'diamond’, 'pin’, 'arrow'
    symbolSize: 0 //大小
  },
  {
    name: '折线图2',
    type: 'line',
    data: [222, 333, 444, 111, 222, 333, 444, 111, 222],
    itemStyle: {
      normal: {
        color: '#FFBB00',
        lineStyle: {
          color: '#FFBB00'
        }
      }
    }
  },
  {
    name: '折线图3',
    type: 'line',
    data: [333, 444, 111, 222, 333, 444, 111, 222, 333],
    itemStyle: {
      normal: {
        color: '#0075FF',
        lineStyle: {
          color: '#0075FF'
        }
      }
    }
  },
  {
    name: '折线图4',
    type: 'line',
    data: [444, 111, 222, 333, 444, 111, 222, 333, 444],
    itemStyle: {
      normal: {
        color: '#FF844D',
        lineStyle: {
          color: '#FF844D'
        }
      }
    }
  }
]

百度echarts雷达图radar根据分数点显示每个不同颜色

百度ECharts文档官网介绍

百度echarts柱状图设置不同颜色(每根柱子一种颜色)

百度echarts图表数据为空如何展示"暂无数据"

百度echarts柱状图/折线图x轴显示全部文本(太长自动换行)

标签: line折线图 line折线图参数 百度echarts

上面是“百度echarts如何对不同折线图设置不同颜色”的全面内容,想了解更多关于 js 内容,请继续关注web建站教程。

当前网址:https://ipkd.cn/webs_3732.html

声明:本站提供的所有资源部分来自互联网,如果有侵犯您的版权或其他权益,请发送到邮箱:admin@ipkd.cn,我们会在看到邮件的第一时间内为您处理!

当前位置: 网站首页 > js
本文共计676个字,预计阅读时长5分钟

基金从业资格考试题库

一站式备考基金从业资格考试,收录2021-2025年模拟题库!呱呱工具箱

AI工作站

收录全球3800+ 款各行各业AI应用,轻轻松松做事!

生活小工具

收录了万年历、老黄历、八字智能排盘等100+款小工具!生活小工具
上一篇: 推荐一个可以查询老黄历的网站,可以根据五行取名!
下一篇: 详细介绍HTTP状态码不同之处的原因(什么原因导致的)
x 打工人ai神器