小编bab*_*oss的帖子

如何减少顶点图中折线图的线条粗细

我在角度项目中使用 Apex 图表,我在那里实现了时间序列图表,但无法减少折线图中的“线条粗细”。

这是我的配置。

  public initChartData(): void {
  this.series =  this.response_data['data']
  this.chart = {
    type: "area",
    stacked: true,
    height: 350,
    zoom: {
      type: "x",
      enabled: true,
      autoScaleYaxis: false
    },

    toolbar: {
      autoSelected: "zoom",
      show: true,
      tools: {
      zoomin: false,
      zoomout: false,
    }
    },

  },

  this.dataLabels = {
    enabled: false
  };
  this.markers = {
    size: 0
  };
  this.stroke ={
    width: 1,
    curve: 'smooth',
  },

  this.fill = {
    type: "gradient",
    gradient: {
      shadeIntensity: 1,
      opacityFrom: 0.7,
      opacityTo: 0.9,
      stops: [0, 90, 100] …
Run Code Online (Sandbox Code Playgroud)

javascript angular apexcharts

3
推荐指数
1
解决办法
1万
查看次数

标签 统计

angular ×1

apexcharts ×1

javascript ×1