How to use the highcharts.numberFormat function in highcharts

To help you get started, we’ve selected a few highcharts examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github zencrepes / zencrepes / imports / ui / components / Charts / Highcharts / BurndownChart.js View on Github external
formatter: function () {
                    return Highcharts.dateFormat('%B %e, %Y', this.x) + '<br>' +
                        this.series.name + ':' + Highcharts.numberFormat(this.y);
                },
            },
github QQhuxuhui / kafkaMonitor / kafkaMonitor-ui / src / components / pages / kafka / monitor / KafkaOffsetMonitor.vue View on Github external
formatter: function () {
            return '<b>' + this.series.name + '</b><br>' +
              '<b>' + 'topic:' + that.char_topic + '</b><br>' +
              '<b>' + 'group:' + that.char_groupId + '</b><br>' +
              Highcharts.numberFormat(this.y, 0) + '<br>' +
              Highcharts.dateFormat('%Y-%m-%d %H:%M:%S', this.x) + '<br>';
          }
        },
github zencrepes / zencrepes / imports / ui / components / Cards / VelocityWeeks / CombinationChart.js View on Github external
formatter: function () {
                    return Highcharts.dateFormat('%B %e, %Y', this.x) + '<br>' +
                        this.series.name + ':' + Highcharts.numberFormat(this.y);
                },
            },
github zencrepes / zencrepes / imports / ui / components / Charts / Highcharts / VelocityChart.js View on Github external
formatter: function () {
                    return Highcharts.dateFormat('%B %e, %Y', this.x) + '<br>' +
                        this.series.name + ':' + Highcharts.numberFormat(this.y);
                },
            },
github zencrepes / zencrepes / imports / ui / components / Charts / Highcharts / StackedLinesPr.js View on Github external
formatter: function () {
                    return Highcharts.dateFormat('%B %e, %Y', this.x) + '<br>' +
                        this.series.name + ':' + Highcharts.numberFormat(this.y);
                },
            },
github ice-lab / react-materials / blocks / RealTimeData / src / SplineChart.jsx View on Github external
formatter() {
      const self = this;
      return (
        `<b>${ 
        self.series.name 
        }</b><br>${ 
        Highcharts.dateFormat('%Y-%m-%d %H:%M:%S', self.x) 
        }<br>${ 
        Highcharts.numberFormat(self.y, 2)}`
      );
    },
  },
github zencrepes / zencrepes / imports / ui / components / Cards / VelocityDays / CombinationChart.js View on Github external
formatter: function () {
                    return Highcharts.dateFormat('%B %e, %Y', this.x) + '<br>' +
                        this.series.name + ':' + Highcharts.numberFormat(this.y);
                },
            },
github alibaba / ice / react-materials / scaffolds / ice-build-platfrom / src / pages / Dashboard / components / SplineChart / SplineChart.jsx View on Github external
formatter: function() {
      return (
        '<b>' +
        this.series.name +
        '</b><br>' +
        Highcharts.dateFormat('%Y-%m-%d %H:%M:%S', this.x) +
        '<br>' +
        Highcharts.numberFormat(this.y, 2)
      );
    },
  },
github govau / datavizkit / src / utils / displayFormats.js View on Github external
  'percentage': val => `${Highcharts.numberFormat(val, 2)}%`,
  'money': function(val) { return `$${val}`; }
github superman66 / vue-highcharts / demo / components / DynamicChart.vue View on Github external
formatter: function () {
            return '<b>' + this.series.name + '</b><br>' +
                Highcharts.dateFormat('%Y-%m-%d %H:%M:%S', this.x) + '<br>' +
                Highcharts.numberFormat(this.y, 2);
        }
    },