ng-apexcharts
Advanced tools
Comparing version 1.7.1 to 1.7.2
@@ -1,5 +0,5 @@ | ||
import { OnChanges, OnInit, OnDestroy, SimpleChanges, NgZone } from "@angular/core"; | ||
import { ApexAnnotations, ApexAxisChartSeries, ApexChart, ApexDataLabels, ApexFill, ApexGrid, ApexLegend, ApexNonAxisChartSeries, ApexMarkers, ApexNoData, ApexPlotOptions, ApexResponsive, ApexStates, ApexStroke, ApexTheme, ApexTitleSubtitle, ApexTooltip, ApexXAxis, ApexYAxis } from "../model/apex-types"; | ||
import { OnChanges, OnDestroy, SimpleChanges, NgZone } from "@angular/core"; | ||
import { ApexAnnotations, ApexAxisChartSeries, ApexChart, ApexDataLabels, ApexFill, ApexGrid, ApexLegend, ApexNonAxisChartSeries, ApexMarkers, ApexNoData, ApexPlotOptions, ApexResponsive, ApexStates, ApexStroke, ApexTheme, ApexTitleSubtitle, ApexTooltip, ApexXAxis, ApexYAxis, ApexForecastDataPoints } from "../model/apex-types"; | ||
import * as i0 from "@angular/core"; | ||
export declare class ChartComponent implements OnInit, OnChanges, OnDestroy { | ||
export declare class ChartComponent implements OnChanges, OnDestroy { | ||
private ngZone; | ||
@@ -22,2 +22,3 @@ chart: ApexChart; | ||
yaxis: ApexYAxis | ApexYAxis[]; | ||
forecastDataPoints: ApexForecastDataPoints; | ||
grid: ApexGrid; | ||
@@ -32,3 +33,2 @@ states: ApexStates; | ||
constructor(ngZone: NgZone); | ||
ngOnInit(): void; | ||
ngOnChanges(changes: SimpleChanges): void; | ||
@@ -60,3 +60,3 @@ ngOnDestroy(): void; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<ChartComponent, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<ChartComponent, "apx-chart", never, { "chart": "chart"; "annotations": "annotations"; "colors": "colors"; "dataLabels": "dataLabels"; "series": "series"; "stroke": "stroke"; "labels": "labels"; "legend": "legend"; "markers": "markers"; "noData": "noData"; "fill": "fill"; "tooltip": "tooltip"; "plotOptions": "plotOptions"; "responsive": "responsive"; "xaxis": "xaxis"; "yaxis": "yaxis"; "grid": "grid"; "states": "states"; "title": "title"; "subtitle": "subtitle"; "theme": "theme"; "autoUpdateSeries": "autoUpdateSeries"; }, {}, never, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<ChartComponent, "apx-chart", never, { "chart": "chart"; "annotations": "annotations"; "colors": "colors"; "dataLabels": "dataLabels"; "series": "series"; "stroke": "stroke"; "labels": "labels"; "legend": "legend"; "markers": "markers"; "noData": "noData"; "fill": "fill"; "tooltip": "tooltip"; "plotOptions": "plotOptions"; "responsive": "responsive"; "xaxis": "xaxis"; "yaxis": "yaxis"; "forecastDataPoints": "forecastDataPoints"; "grid": "grid"; "states": "states"; "title": "title"; "subtitle": "subtitle"; "theme": "theme"; "autoUpdateSeries": "autoUpdateSeries"; }, {}, never, never>; | ||
} |
@@ -60,2 +60,3 @@ export interface ApexOptions { | ||
markerClick?(e: any, chart?: any, options?: any): void; | ||
xAxisLabelClick?(e: any, chart?: any, options?: any): void; | ||
selection?(chart: any, options?: any): void; | ||
@@ -228,2 +229,3 @@ dataPointSelection?(e: any, chart?: any, options?: any): void; | ||
y: any; | ||
fill: ApexFill; | ||
fillColor?: string; | ||
@@ -233,3 +235,5 @@ strokeColor?: string; | ||
goals?: any; | ||
}[] | [number, number | null][] | [number, (number | null)[]][]; | ||
barHeightOffset?: number; | ||
columnWidthOffset?: number; | ||
}[] | [number, number | null][] | [number, (number | null)[]][] | number[][]; | ||
}[]; | ||
@@ -248,2 +252,3 @@ export declare type ApexNonAxisChartSeries = number[]; | ||
dashArray?: number | number[]; | ||
fill?: ApexFill; | ||
} | ||
@@ -271,2 +276,3 @@ export interface ApexAnnotations { | ||
mouseLeave?: Function; | ||
click?: Function; | ||
} | ||
@@ -323,2 +329,3 @@ export interface AnnotationStyle { | ||
mouseLeave?: Function; | ||
click?: Function; | ||
marker?: { | ||
@@ -390,2 +397,6 @@ size?: number; | ||
reset?: string; | ||
exportToSVG?: string; | ||
exportToPNG?: string; | ||
exportToCSV: string; | ||
menu?: string; | ||
}; | ||
@@ -408,2 +419,4 @@ }; | ||
borderRadius?: number; | ||
borderRadiusApplication?: "around" | "end"; | ||
borderRadiusWhenStacked?: "all" | "last"; | ||
rangeBarOverlap?: boolean; | ||
@@ -426,2 +439,14 @@ rangeBarGroupRows?: boolean; | ||
orientation?: "horizontal" | "vertical"; | ||
total?: { | ||
enabled?: boolean; | ||
formatter?(val?: string, opts?: any): string; | ||
offsetX?: number; | ||
offsetY?: number; | ||
style?: { | ||
color?: string; | ||
fontSize?: string; | ||
fontFamily?: string; | ||
fontWeight?: number | string; | ||
}; | ||
}; | ||
}; | ||
@@ -580,3 +605,3 @@ }; | ||
endAngle?: number; | ||
background?: string; | ||
background?: string | string[]; | ||
strokeWidth?: string; | ||
@@ -628,4 +653,4 @@ opacity?: number; | ||
inverseColors?: boolean; | ||
opacityFrom?: number; | ||
opacityTo?: number; | ||
opacityFrom?: number | number[]; | ||
opacityTo?: number | number[]; | ||
stops?: number[]; | ||
@@ -823,18 +848,19 @@ }; | ||
minute?: string; | ||
second?: string; | ||
}; | ||
group?: { | ||
groups?: { | ||
title: string; | ||
cols: number; | ||
}[]; | ||
style?: { | ||
colors?: string | string[]; | ||
fontSize?: string; | ||
fontFamily?: string; | ||
fontWeight?: string | number; | ||
cssClass?: string; | ||
}; | ||
}; | ||
formatter?(value: string, timestamp?: number, opts?: any): string | string[]; | ||
}; | ||
group?: { | ||
groups?: { | ||
title: string; | ||
cols: number; | ||
}[]; | ||
style?: { | ||
colors?: string | string[]; | ||
fontSize?: string; | ||
fontFamily?: string; | ||
fontWeight?: string | number; | ||
cssClass?: string; | ||
}; | ||
}; | ||
axisBorder?: { | ||
@@ -841,0 +867,0 @@ show?: boolean; |
{ | ||
"name": "ng-apexcharts", | ||
"version": "1.7.1", | ||
"version": "1.7.2", | ||
"description": "An angular implementation of ApexCharts", | ||
@@ -9,3 +9,3 @@ "peerDependencies": { | ||
"rxjs": "^6.5.3 || ^7.4.0", | ||
"apexcharts": "^3.31.0" | ||
"apexcharts": "^3.36.0" | ||
}, | ||
@@ -12,0 +12,0 @@ "keywords": [ |
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
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
157971
1914