• v-chart 渐变色


    <ve-line
          :colors="colors"
          :data="chartData"
          :settings="chartSettings"
          :data-zoom="dataZoom"
        ></ve-line>
     
    import echarts from 'echarts'
     
    this.colors = [
          new echarts.graphic.LinearGradient(
              0,0,0,1,[{
              offset: 0, color: 'rgba(65,95,255,1)'
            },{
              offset: 1, color: 'rgba(65,95,255,0)'
            }]),
            new echarts.graphic.LinearGradient(
              0,0,0,1,[{
              offset: 0, color: 'rgba(234,79,63,1)'
            },{
              offset: 1, color: 'rgba(234,79,63, 0)'
            }]),
            new echarts.graphic.LinearGradient(
              0,0,0,1,[{
              offset: 0, color: 'rgba(49,209,136,1)'
            },{
              offset: 1, color: 'rgba(49,209,136,0)'
            }]),
            new echarts.graphic.LinearGradient(
              0,0,0,1,[{
              offset: 0, color: 'rgba(255,149,54,1)'
            },{
              offset: 1, color: 'rgba(255,149,54,0)'
            }]),
            new echarts.graphic.LinearGradient(
              0,0,0,1,[{
              offset: 0, color: 'rgba(176,214,221,1)'
            },{
              offset: 1, color: 'rgba(176,214,221,0)'
            }]),
            new echarts.graphic.LinearGradient(
              0,0,0,1,[{
              offset: 0, color: 'rgba(248,231,28,1)'
            },{
              offset: 1, color: 'rgba(248,231,28,0)'
            }]
          )
        ]
  • 相关阅读:
    Rotate to Attend: Convolutional Triplet Attention Module
    论文阅读:《Automatic Change Detection in Synthetic Aperture Radar Images Based on PCANet》
    论文阅读:Change Detection From Synthetic Aperture Radar Images Based on Channel Weighting-Based Deep Cascade Network
    第二次作业:卷积神经网络 part 2
    CGAN和DCGAN
    GAN
    About me
    极大似然估计与贝叶斯估计
    支持向量机(一)
    非参数估计——Parzen窗与k近邻估计
  • 原文地址:https://www.cnblogs.com/MJmajong/p/12983522.html
Copyright © 2020-2023  润新知