From aedfd3f12c9e297c2f8ab0d66b0ed4c372074e42 Mon Sep 17 00:00:00 2001 From: Ricardo Lindooren Date: Tue, 31 Jan 2023 13:46:13 +0100 Subject: [PATCH] Temporarily change britecharts CDN URL The previous URL results in a `403`: `Package size exceeded the configured limit of 100 MB.` Also, temporarily disabled the `valueFormatter` as it results in error for the referenced britecharts release. For issue: 392 --- printer/template.go | 10 ++-------- www/website/static/sample.html | 10 ++-------- 2 files changed, 4 insertions(+), 16 deletions(-) diff --git a/printer/template.go b/printer/template.go index e59f1c95..868e4360 100644 --- a/printer/template.go +++ b/printer/template.go @@ -36,9 +36,9 @@ duration (ms),status,error{{ range $i, $v := .Details }} ghz{{ if .Name }} - {{ .Name }}{{end}} - + - + @@ -356,12 +356,6 @@ duration (ms),status,error{{ range $i, $v := .Details }} tooltipContainer, dataset; - tooltip.numberFormat('') - tooltip.valueFormatter(function(v) { - var percent = v / count * 100; - return v + ' ' + '(' + Number.parseFloat(percent).toFixed(1) + ' %)'; - }) - if (containerWidth) { dataset = data; barChart diff --git a/www/website/static/sample.html b/www/website/static/sample.html index d91481b0..65b44de0 100644 --- a/www/website/static/sample.html +++ b/www/website/static/sample.html @@ -7,9 +7,9 @@ ghz - Greeter SayHello - + - + @@ -398,12 +398,6 @@

Data

tooltipContainer, dataset; - tooltip.numberFormat('') - tooltip.valueFormatter(function(v) { - var percent = v / count * 100; - return v + ' ' + '(' + Number.parseFloat(percent).toFixed(1) + ' %)'; - }) - if (containerWidth) { dataset = data; barChart