chartjs-chart-error-bars
Advanced tools
Comparing version 3.0.0-beta.7 to 3.0.0-beta.9
@@ -5,6 +5,6 @@ /** | ||
* | ||
* Copyright (c) 2020 Samuel Gratzl <samu@sgratzl.com> | ||
* Copyright (c) 2021 Samuel Gratzl <samu@sgratzl.com> | ||
*/ | ||
import { BarElement, PointElement, ArcElement, BarController, Scale, ChartMeta, UpdateMode, BarControllerDatasetOptions, ScriptableAndArrayOptions, BarControllerChartOptions, CartesianScaleTypeRegistry, Chart, ChartItem, ChartConfiguration, LineController, LineControllerDatasetOptions, LineControllerChartOptions, ScatterController, ScatterControllerDatasetOptions, ScatterControllerChartOptions, PolarAreaController, Element, PolarAreaControllerDatasetOptions, PolarAreaControllerChartOptions } from 'chart.js'; | ||
import { BarElement, PointElement, ArcElement, BarController, Scale, ChartMeta, UpdateMode, BarControllerDatasetOptions, ScriptableAndArrayOptions, ScriptableContext, BarControllerChartOptions, CartesianScaleTypeRegistry, Chart, ChartItem, ChartConfiguration, LineController, LineControllerDatasetOptions, LineControllerChartOptions, ScatterController, ScatterControllerDatasetOptions, ScatterControllerChartOptions, PolarAreaController, Element, PolarAreaControllerDatasetOptions, PolarAreaControllerChartOptions } from 'chart.js'; | ||
@@ -147,3 +147,3 @@ declare class BarWithErrorBar extends BarElement { | ||
} | ||
interface BarWithErrorBarsControllerDatasetOptions extends BarControllerDatasetOptions, ScriptableAndArrayOptions<IErrorBarOptions> { | ||
interface BarWithErrorBarsControllerDatasetOptions extends BarControllerDatasetOptions, ScriptableAndArrayOptions<IErrorBarOptions, ScriptableContext> { | ||
} | ||
@@ -178,3 +178,3 @@ declare module 'chart.js' { | ||
} | ||
interface LineWithErrorBarsControllerDatasetOptions extends LineControllerDatasetOptions, ScriptableAndArrayOptions<IErrorBarOptions> { | ||
interface LineWithErrorBarsControllerDatasetOptions extends LineControllerDatasetOptions, ScriptableAndArrayOptions<IErrorBarOptions, ScriptableContext> { | ||
} | ||
@@ -209,3 +209,3 @@ declare module 'chart.js' { | ||
} | ||
interface ScatterWithErrorBarsControllerDatasetOptions extends ScatterControllerDatasetOptions, ScriptableAndArrayOptions<IErrorBarOptions> { | ||
interface ScatterWithErrorBarsControllerDatasetOptions extends ScatterControllerDatasetOptions, ScriptableAndArrayOptions<IErrorBarOptions, ScriptableContext> { | ||
} | ||
@@ -243,3 +243,3 @@ declare module 'chart.js' { | ||
} | ||
interface PolarAreaWithErrorBarsControllerDatasetOptions extends PolarAreaControllerDatasetOptions, ScriptableAndArrayOptions<IErrorBarOptions> { | ||
interface PolarAreaWithErrorBarsControllerDatasetOptions extends PolarAreaControllerDatasetOptions, ScriptableAndArrayOptions<IErrorBarOptions, ScriptableContext> { | ||
} | ||
@@ -246,0 +246,0 @@ declare module 'chart.js' { |
@@ -5,3 +5,3 @@ /** | ||
* | ||
* Copyright (c) 2020 Samuel Gratzl <samu@sgratzl.com> | ||
* Copyright (c) 2021 Samuel Gratzl <samu@sgratzl.com> | ||
*/ | ||
@@ -8,0 +8,0 @@ |
@@ -5,3 +5,3 @@ /** | ||
* | ||
* Copyright (c) 2020 Samuel Gratzl <samu@sgratzl.com> | ||
* Copyright (c) 2021 Samuel Gratzl <samu@sgratzl.com> | ||
*/ | ||
@@ -8,0 +8,0 @@ |
@@ -5,3 +5,3 @@ /** | ||
* | ||
* Copyright (c) 2020 Samuel Gratzl <samu@sgratzl.com> | ||
* Copyright (c) 2021 Samuel Gratzl <samu@sgratzl.com> | ||
*/ | ||
@@ -8,0 +8,0 @@ |
{ | ||
"name": "chartjs-chart-error-bars", | ||
"description": "Chart.js module for charting error bars", | ||
"version": "3.0.0-beta.7", | ||
"version": "3.0.0-beta.9", | ||
"author": { | ||
@@ -44,15 +44,16 @@ "name": "Samuel Gratzl", | ||
"@rollup/plugin-commonjs": "^17.0.0", | ||
"@rollup/plugin-node-resolve": "^11.0.0", | ||
"@rollup/plugin-node-resolve": "^11.1.0", | ||
"@rollup/plugin-replace": "^2.3.4", | ||
"@rollup/plugin-typescript": "^8.0.0", | ||
"@types/jest": "^26.0.18", | ||
"@rollup/plugin-typescript": "^8.1.0", | ||
"@types/jest": "^26.0.20", | ||
"@types/jest-image-snapshot": "^4.1.3", | ||
"@types/node": "^14.14.11", | ||
"@typescript-eslint/eslint-plugin": "^4.9.1", | ||
"@typescript-eslint/parser": "^4.9.1", | ||
"@types/node": "^14.14.21", | ||
"@typescript-eslint/eslint-plugin": "^4.13.0", | ||
"@typescript-eslint/parser": "^4.13.0", | ||
"@yarnpkg/pnpify": "^2.4.0", | ||
"canvas": "^2.6.1", | ||
"chart.js": "^3.0.0-beta.7", | ||
"eslint": "^7.15.0", | ||
"eslint-config-prettier": "^7.0.0", | ||
"canvas-5-polyfill": "^0.1.5", | ||
"chart.js": "^3.0.0-beta.9", | ||
"eslint": "^7.18.0", | ||
"eslint-config-prettier": "^7.1.0", | ||
"eslint-config-react-app": "^6.0.0", | ||
@@ -62,18 +63,18 @@ "eslint-plugin-flowtype": "^5.2.0", | ||
"eslint-plugin-jsx-a11y": "^6.4.1", | ||
"eslint-plugin-prettier": "^3.2.0", | ||
"eslint-plugin-react": "^7.21.5", | ||
"eslint-plugin-prettier": "^3.3.1", | ||
"eslint-plugin-react": "^7.22.0", | ||
"eslint-plugin-react-hooks": "^4.2.0", | ||
"jest": "^26.6.3", | ||
"jest-image-snapshot": "^4.2.0", | ||
"jest-image-snapshot": "^4.3.0", | ||
"prettier": "^2.2.1", | ||
"release-it": "^14.2.2", | ||
"rimraf": "^3.0.2", | ||
"rollup": "^2.34.2", | ||
"rollup": "^2.36.2", | ||
"rollup-plugin-cleanup": "^3.2.1", | ||
"rollup-plugin-dts": "^2.0.0", | ||
"rollup-plugin-dts": "^2.0.1", | ||
"rollup-plugin-terser": "^7.0.2", | ||
"ts-jest": "^26.4.4", | ||
"tslib": "^2.0.3", | ||
"typedoc": "^0.19.2", | ||
"typescript": "^4.1.2" | ||
"tslib": "^2.1.0", | ||
"typedoc": "^0.20.16", | ||
"typescript": "^4.1.3" | ||
}, | ||
@@ -80,0 +81,0 @@ "scripts": { |
@@ -6,2 +6,3 @@ /// <reference types="jest" /> | ||
import { toMatchImageSnapshot, MatchImageSnapshotOptions } from 'jest-image-snapshot'; | ||
import 'canvas-5-polyfill'; | ||
@@ -34,7 +35,9 @@ expect.extend({ toMatchImageSnapshot }); | ||
defaults.font.family = 'Courier New'; | ||
defaults.font.color = 'transparent'; | ||
// defaults.color = 'transparent'; | ||
config.options = Object.assign( | ||
{ | ||
responsive: false, | ||
animation: false, | ||
animation: { | ||
duration: 1, | ||
}, | ||
plugins: { | ||
@@ -41,0 +44,0 @@ legend: { |
@@ -11,2 +11,3 @@ import { | ||
ScriptableAndArrayOptions, | ||
ScriptableContext, | ||
ChartConfiguration, | ||
@@ -74,3 +75,3 @@ ChartItem, | ||
extends BarControllerDatasetOptions, | ||
ScriptableAndArrayOptions<IErrorBarOptions> {} | ||
ScriptableAndArrayOptions<IErrorBarOptions, ScriptableContext> {} | ||
@@ -77,0 +78,0 @@ declare module 'chart.js' { |
@@ -16,2 +16,3 @@ import { | ||
LineControllerChartOptions, | ||
ScriptableContext, | ||
} from 'chart.js'; | ||
@@ -75,3 +76,3 @@ import { merge } from 'chart.js/helpers'; | ||
extends LineControllerDatasetOptions, | ||
ScriptableAndArrayOptions<IErrorBarOptions> {} | ||
ScriptableAndArrayOptions<IErrorBarOptions, ScriptableContext> {} | ||
@@ -78,0 +79,0 @@ declare module 'chart.js' { |
@@ -15,2 +15,3 @@ import { | ||
CartesianScaleTypeRegistry, | ||
ScriptableContext, | ||
} from 'chart.js'; | ||
@@ -115,3 +116,3 @@ import { merge, resolve } from 'chart.js/helpers'; | ||
extends PolarAreaControllerDatasetOptions, | ||
ScriptableAndArrayOptions<IErrorBarOptions> {} | ||
ScriptableAndArrayOptions<IErrorBarOptions, ScriptableContext> {} | ||
@@ -118,0 +119,0 @@ declare module 'chart.js' { |
@@ -16,2 +16,3 @@ import { | ||
CartesianScaleTypeRegistry, | ||
ScriptableContext, | ||
} from 'chart.js'; | ||
@@ -82,3 +83,3 @@ import { merge } from 'chart.js/helpers'; | ||
extends ScatterControllerDatasetOptions, | ||
ScriptableAndArrayOptions<IErrorBarOptions> {} | ||
ScriptableAndArrayOptions<IErrorBarOptions, ScriptableContext> {} | ||
@@ -85,0 +86,0 @@ declare module 'chart.js' { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
228354
3250
35