Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

chartjs-chart-error-bars

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chartjs-chart-error-bars - npm Package Compare versions

Comparing version 4.2.3 to 4.2.4

84

build/index.d.ts

@@ -8,3 +8,3 @@ /**

import { ChartType, ScriptableAndArrayOptions, BarOptions, BarHoverOptions, ScriptableContext, BarElement, PointOptions, PointHoverOptions, PointElement, ArcOptions, ArcHoverOptions, ArcElement, BarControllerChartOptions, CartesianScaleTypeRegistry, BarController, BarControllerDatasetOptions, Chart, ChartItem, ChartConfiguration, LineControllerChartOptions, LineController, LineControllerDatasetOptions, ScatterControllerChartOptions, ScatterController, ChartMeta, UpdateMode, ScatterControllerDatasetOptions, PolarAreaControllerChartOptions, PolarAreaController, PolarAreaControllerDatasetOptions } from 'chart.js';
import { ChartType, ScriptableAndArrayOptions, BarOptions, BarHoverOptions, ScriptableContext, BarElement, PointOptions, PointHoverOptions, PointElement, ArcOptions, ArcHoverOptions, ArcElement, BarControllerChartOptions, CartesianScaleTypeRegistry, BarController, Scale, ChartMeta, Element, UpdateMode, BarControllerDatasetOptions, Chart, ChartItem, ChartConfiguration, LineControllerChartOptions, LineController, LineControllerDatasetOptions, ScatterControllerChartOptions, ScatterController, ScatterControllerDatasetOptions, PolarAreaControllerChartOptions, PolarAreaController, PolarAreaControllerDatasetOptions } from 'chart.js';

@@ -33,3 +33,12 @@ interface IErrorBarOptions {

declare class BarWithErrorBar extends BarElement {
draw(ctx: CanvasRenderingContext2D): void;
static readonly id = "barWithErrorBar";
static readonly defaults: any;
static readonly defaultRoutes: {
[property: string]: string;
} | undefined;
static readonly descriptors: {
_scriptable: boolean;
_indexable: (name: string) => boolean;
};
}

@@ -43,3 +52,13 @@ declare module 'chart.js' {

declare class PointWithErrorBar extends PointElement {
draw(ctx: CanvasRenderingContext2D, area?: any): void;
static readonly id = "pointWithErrorBar";
static readonly defaults: any;
static readonly defaultRoutes: {
backgroundColor: string;
borderColor: string;
};
static readonly descriptors: {
_scriptable: boolean;
_indexable: (name: string) => boolean;
};
}

@@ -53,3 +72,12 @@ declare module 'chart.js' {

declare class ArcWithErrorBar extends ArcElement {
draw(ctx: CanvasRenderingContext2D): void;
static readonly id = "arcWithErrorBar";
static readonly defaults: any;
static readonly defaultRoutes: {
backgroundColor: string;
};
static readonly descriptors: {
_scriptable: boolean;
_indexable: (name: string) => boolean;
};
}

@@ -81,4 +109,16 @@ declare module 'chart.js' {

declare class BarWithErrorBarsController extends BarController {
getMinMax(scale: Scale, canStack: boolean): {
min: number;
max: number;
};
protected parsePrimitiveData(meta: ChartMeta, data: any[], start: number, count: number): Record<string, unknown>[];
protected parseObjectData(meta: ChartMeta, data: any[], start: number, count: number): Record<string, unknown>[];
private parseErrorData;
updateElement(element: Element, index: number | undefined, properties: Record<string, unknown>, mode: UpdateMode): void;
static readonly id = "barWithErrorBars";
static readonly defaults: any;
static readonly overrides: any;
static readonly defaultRoutes: {
[property: string]: string;
} | undefined;
}

@@ -105,3 +145,18 @@ interface BarWithErrorBarsControllerDatasetOptions extends BarControllerDatasetOptions, ScriptableAndArrayOptions<IErrorBarOptions, ScriptableContext<'barWithErrorBars'>> {

declare class LineWithErrorBarsController extends LineController {
getMinMax(scale: Scale, canStack: boolean): {
min: number;
max: number;
};
protected parsePrimitiveData(meta: ChartMeta, data: any[], start: number, count: number): Record<string, unknown>[];
protected parseObjectData(meta: ChartMeta, data: any[], start: number, count: number): Record<string, unknown>[];
private parseErrorData;
updateElement(element: Element, index: number | undefined, properties: Record<string, unknown>, mode: UpdateMode): void;
protected updateElementScale(index: number, properties: Record<string, unknown>, mode: UpdateMode): void;
updateElements(points: Element[], start: number, count: number, mode: UpdateMode): void;
static readonly id = "lineWithErrorBars";
static readonly defaults: any;
static readonly overrides: any;
static readonly defaultRoutes: {
[property: string]: string;
} | undefined;
}

@@ -128,7 +183,18 @@ interface LineWithErrorBarsControllerDatasetOptions extends LineControllerDatasetOptions, ScriptableAndArrayOptions<IErrorBarOptions, ScriptableContext<'lineWithErrorBars'>> {

declare class ScatterWithErrorBarsController extends ScatterController {
getMinMax(scale: Scale, canStack: boolean): {
min: number;
max: number;
};
protected parsePrimitiveData(meta: ChartMeta, data: any[], start: number, count: number): Record<string, unknown>[];
protected parseObjectData(meta: ChartMeta, data: any[], start: number, count: number): Record<string, unknown>[];
private parseErrorData;
updateElement(element: Element, index: number | undefined, properties: Record<string, unknown>, mode: UpdateMode): void;
protected updateElementScale(index: number, properties: Record<string, unknown>, mode: UpdateMode): void;
updateElements(points: Element[], start: number, count: number, mode: UpdateMode): void;
static readonly id = "scatterWithErrorBars";
static readonly defaults: any;
static readonly overrides: any;
static readonly defaultRoutes: {
[property: string]: string;
} | undefined;
}

@@ -155,6 +221,22 @@ interface ScatterWithErrorBarsControllerDatasetOptions extends ScatterControllerDatasetOptions, ScriptableAndArrayOptions<IErrorBarOptions, ScriptableContext<'scatterWithErrorBars'>> {

declare class PolarAreaWithErrorBarsController extends PolarAreaController {
getMinMaxImpl(scale: Scale): {
min: number;
max: number;
};
getMinMax(scale: Scale): {
min: number;
max: number;
};
countVisibleElements(): number;
protected parsePrimitiveData(meta: ChartMeta, data: any[], start: number, count: number): Record<string, unknown>[];
protected parseObjectData(meta: ChartMeta, data: any[], start: number, count: number): Record<string, unknown>[];
private parseErrorData;
updateElement(element: Element, index: number | undefined, properties: Record<string, unknown>, mode: UpdateMode): void;
updateElements(arcs: Element[], start: number, count: number, mode: UpdateMode): void;
static readonly id = "polarAreaWithErrorBars";
static readonly defaults: any;
static readonly overrides: any;
static readonly defaultRoutes: {
[property: string]: string;
} | undefined;
}

@@ -161,0 +243,0 @@ interface PolarAreaWithErrorBarsControllerDatasetOptions extends PolarAreaControllerDatasetOptions, ScriptableAndArrayOptions<IErrorBarOptions, ScriptableContext<'polarAreaWithErrorBars'>> {

2

package.json
{
"name": "chartjs-chart-error-bars",
"description": "Chart.js module for charting error bars",
"version": "4.2.3",
"version": "4.2.4",
"author": {

@@ -6,0 +6,0 @@ "name": "Samuel Gratzl",

@@ -36,3 +36,3 @@ import {

/**
* @internal
* @hidden
*/

@@ -44,3 +44,3 @@ getMinMax(scale: Scale, canStack: boolean): { min: number; max: number } {

/**
* @internal
* @hidden
*/

@@ -54,3 +54,3 @@ protected parsePrimitiveData(meta: ChartMeta, data: any[], start: number, count: number): Record<string, unknown>[] {

/**
* @internal
* @hidden
*/

@@ -77,3 +77,3 @@ protected parseObjectData(meta: ChartMeta, data: any[], start: number, count: number): Record<string, unknown>[] {

/**
* @internal
* @hidden
*/

@@ -102,3 +102,3 @@ updateElement(

/**
* @internal
* @hidden
*/

@@ -114,3 +114,3 @@ static readonly defaults: any = /* #__PURE__ */ merge({}, [

/**
* @internal
* @hidden
*/

@@ -131,3 +131,3 @@ static readonly overrides: any = /* #__PURE__ */ merge({}, [

/**
* @internal
* @hidden
*/

@@ -134,0 +134,0 @@ static readonly defaultRoutes = BarController.defaultRoutes;

@@ -38,3 +38,3 @@ import {

/**
* @internal
* @hidden
*/

@@ -46,3 +46,3 @@ getMinMax(scale: Scale, canStack: boolean): { min: number; max: number } {

/**
* @internal
* @hidden
*/

@@ -56,3 +56,3 @@ protected parsePrimitiveData(meta: ChartMeta, data: any[], start: number, count: number): Record<string, unknown>[] {

/**
* @internal
* @hidden
*/

@@ -66,3 +66,3 @@ protected parseObjectData(meta: ChartMeta, data: any[], start: number, count: number): Record<string, unknown>[] {

/**
* @internal
* @hidden
*/

@@ -89,3 +89,3 @@ private parseErrorData(

/**
* @internal
* @hidden
*/

@@ -106,3 +106,3 @@ updateElement(

/**
* @internal
* @hidden
*/

@@ -133,3 +133,3 @@ protected updateElementScale(index: number, properties: Record<string, unknown>, mode: UpdateMode): void {

/**
* @internal
* @hidden
*/

@@ -159,3 +159,3 @@ updateElements(points: Element[], start: number, count: number, mode: UpdateMode) {

/**
* @internal
* @hidden
*/

@@ -171,3 +171,3 @@ static readonly defaults: any = /* #__PURE__ */ merge({}, [

/**
* @internal
* @hidden
*/

@@ -188,3 +188,3 @@ static readonly overrides: any = /* #__PURE__ */ merge({}, [

/**
* @internal
* @hidden
*/

@@ -191,0 +191,0 @@ static readonly defaultRoutes = LineController.defaultRoutes;

@@ -28,3 +28,3 @@ import {

/**
* @internal
* @hidden
*/

@@ -54,3 +54,3 @@ getMinMaxImpl(scale: Scale) {

/**
* @internal
* @hidden
*/

@@ -62,3 +62,3 @@ getMinMax(scale: Scale): { min: number; max: number } {

/**
* @internal
* @hidden
*/

@@ -126,3 +126,3 @@ countVisibleElements(): number {

/**
* @internal
* @hidden
*/

@@ -148,3 +148,3 @@ updateElement(

/**
* @internal
* @hidden
*/

@@ -167,3 +167,3 @@ updateElements(arcs: Element[], start: number, count: number, mode: UpdateMode): void {

/**
* @internal
* @hidden
*/

@@ -179,3 +179,3 @@ static readonly defaults: any = /* #__PURE__ */ merge({}, [

/**
* @internal
* @hidden
*/

@@ -196,3 +196,3 @@ static readonly overrides: any = /* #__PURE__ */ merge({}, [

/**
* @internal
* @hidden
*/

@@ -199,0 +199,0 @@ static readonly defaultRoutes = PolarAreaController.defaultRoutes;

@@ -29,3 +29,3 @@ import {

/**
* @internal
* @hidden
*/

@@ -62,3 +62,3 @@ getMinMax(scale: Scale, canStack: boolean): { min: number; max: number } {

/**
* @internal
* @hidden
*/

@@ -97,3 +97,3 @@ updateElement(

/**
* @internal
* @hidden
*/

@@ -123,3 +123,3 @@ updateElements(points: Element[], start: number, count: number, mode: UpdateMode) {

/**
* @internal
* @hidden
*/

@@ -135,3 +135,3 @@ static readonly defaults: any = /* #__PURE__ */ merge({}, [

/**
* @internal
* @hidden
*/

@@ -152,3 +152,3 @@ static readonly overrides: any = /* #__PURE__ */ merge({}, [

/**
* @internal
* @hidden
*/

@@ -155,0 +155,0 @@ static readonly defaultRoutes = LineController.defaultRoutes;

@@ -13,3 +13,3 @@ import {

/**
* @internal
* @hidden
*/

@@ -25,3 +25,3 @@ draw(ctx: CanvasRenderingContext2D): void {

/**
* @internal
* @hidden
*/

@@ -31,3 +31,3 @@ static readonly defaults: any = /* #__PURE__ */ { ...ArcElement.defaults, ...errorBarDefaults };

/**
* @internal
* @hidden
*/

@@ -37,3 +37,3 @@ static readonly defaultRoutes = ArcElement.defaultRoutes;

/**
* @internal
* @hidden
*/

@@ -40,0 +40,0 @@ static readonly descriptors = errorBarDescriptors;

@@ -13,3 +13,3 @@ import {

/**
* @internal
* @hidden
*/

@@ -25,3 +25,3 @@ draw(ctx: CanvasRenderingContext2D): void {

/**
* @internal
* @hidden
*/

@@ -31,3 +31,3 @@ static readonly defaults: any = /* #__PURE__ */ { ...BarElement.defaults, ...errorBarDefaults };

/**
* @internal
* @hidden
*/

@@ -37,3 +37,3 @@ static readonly defaultRoutes = BarElement.defaultRoutes;

/**
* @internal
* @hidden
*/

@@ -40,0 +40,0 @@ static readonly descriptors = errorBarDescriptors;

@@ -13,3 +13,3 @@ import {

/**
* @internal
* @hidden
*/

@@ -26,3 +26,3 @@ // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types

/**
* @internal
* @hidden
*/

@@ -32,3 +32,3 @@ static readonly defaults: any = /* #__PURE__ */ { ...PointElement.defaults, ...errorBarDefaults };

/**
* @internal
* @hidden
*/

@@ -38,3 +38,3 @@ static readonly defaultRoutes = PointElement.defaultRoutes;

/**
* @internal
* @hidden
*/

@@ -41,0 +41,0 @@ static readonly descriptors = errorBarDescriptors;

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc