Skip to content

Commit 6bf2c4c

Browse files
committed
bump v2.0.0
1 parent 80fd45c commit 6bf2c4c

9 files changed

+129
-78
lines changed

dist/chartjs-plugin-datasource-prometheus.cjs.js

Lines changed: 56 additions & 35 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/chartjs-plugin-datasource-prometheus.cjs.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/chartjs-plugin-datasource-prometheus.esm.js

Lines changed: 56 additions & 35 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/chartjs-plugin-datasource-prometheus.esm.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/chartjs-plugin-datasource-prometheus.umd.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/options.d.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,13 @@ export declare class ChartDatasourcePrometheusPluginErrorMsg {
3434
textBaseline?: CanvasTextBaseline;
3535
direction?: CanvasDirection;
3636
}
37+
export declare class ChartDatasourcePrometheusPluginLoadingMsg {
38+
message?: string;
39+
font?: string;
40+
textAlign?: CanvasTextAlign;
41+
textBaseline?: CanvasTextBaseline;
42+
direction?: CanvasDirection;
43+
}
3744
export declare class ChartDatasourcePrometheusPluginOptions {
3845
/**
3946
* Options for Prometheus requests
@@ -56,6 +63,7 @@ export declare class ChartDatasourcePrometheusPluginOptions {
5663
backgroundColor?: string[];
5764
noDataMsg?: ChartDatasourcePrometheusPluginNoDataMsg;
5865
errorMsg?: ChartDatasourcePrometheusPluginErrorMsg;
66+
loadingMsg?: ChartDatasourcePrometheusPluginLoadingMsg;
5967
findInLabelMap?: PrometheusSerieHook | null;
6068
findInBorderColorMap?: PrometheusSerieHook | null;
6169
findInBackgroundColorMap?: PrometheusSerieHook | null;

dist/plugin.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ export declare class ChartDatasourcePrometheusPlugin {
55
afterInit(chart: Chart, args: any, _options: any): void;
66
beforeUpdate(chart: Chart, args: any, _options: any): boolean;
77
afterDraw(chart: Chart, args: any, _options: any): void;
8+
writeText(chart: Chart, message: string, fn?: (ctx: CanvasRenderingContext2D) => void): void;
89
destroy(chart: Chart, args: any, _options: any): void;
910
private resumeRendering;
1011
}

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"Samuel Berthe",
66
"Frantisek Svoboda"
77
],
8-
"version": "1.1.0",
8+
"version": "2.0.0",
99
"license": "MIT",
1010
"main": "dist/chartjs-plugin-datasource-prometheus.cjs.js",
1111
"module": "dist/chartjs-plugin-datasource-prometheus.esm.js",

0 commit comments

Comments
 (0)