http://www.highcharts.com/demo/line-ajax

参考设置(bar 柱状图)

plotOptions: {
                series: {
                    cursor: 'pointer',
                    point: {
                        events: {
                            click: function (e) {
                                  alert(this.series.name);
                                });
                            }
                        }
                    },
                    marker: {
                        lineWidth: 1
                    }
                }
            },

    series: [{
              name: 'John',
              data: [5, 3, 4]
          }, {
              name: 'Jane',
              data: [2, 3, 2]
          }, {
              name: 'Joe',
              data: [3, 4, 4]
          }]

相关文章:

  • 2021-09-26
  • 2022-12-23
  • 2021-10-15
  • 2022-12-23
  • 2021-11-30
  • 2021-11-17
  • 2021-11-17
  • 2021-05-23
猜你喜欢
  • 2021-09-19
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-04
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案