codefoxui
Advanced tools
Comparing version 0.6.14 to 0.6.15
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnChanges } from "@angular/core"; | ||
import { Axis, ProcessedAxis, AxisType, ChartConfiguration, ProcessedChartConfiguration, ChartContextMenuItem, ChartCoordinates, ChartDrawFinishedParams, ChartDrawStartedParams, ChartPosition, ChartStyle, SeriesData, SeriesType, ProcessedSeries, ChartMarginProcessed, ChartPieTemplate, ChartArcInformation, ChartPieTemplateDrawFunction, ChartPieTemplateFull, ChartColumnHoverDrawFunction } from "./chart.interfaces"; | ||
import { Axis, ProcessedAxis, AxisType, ChartConfiguration, ProcessedChartConfiguration, ChartContextMenuItem, ChartCoordinates, ChartDrawFinishedParams, ChartDrawStartedParams, ChartPosition, ChartStyle, SeriesData, SeriesType, ProcessedSeries, ChartMarginProcessed, ChartPieTemplate, ChartArcInformation, ChartPieTemplateDrawFunction, ChartPieTemplateFull, ChartColumnHoverDrawFunction, ChartValuePipeFunction, AxisDrawValue } from "./chart.interfaces"; | ||
import { TranslationsService } from "../../shared"; | ||
@@ -33,6 +33,3 @@ import { LabelValue } from "../../interfaces"; | ||
drawValuesWidth: number; | ||
drawValues: { | ||
originalValue: (number | null); | ||
displayValue: string; | ||
}[]; | ||
drawValues: AxisDrawValue[]; | ||
get titleWidthAndSpace(): number; | ||
@@ -47,5 +44,4 @@ get coordinates(): ChartCoordinates; | ||
maxNumber(): number; | ||
generateDrawValues(): void; | ||
generateDrawValues(): AxisDrawValue[]; | ||
precalculate(): void; | ||
drawHorizontalLines(): void; | ||
draw(): void; | ||
@@ -93,2 +89,3 @@ constructor(chartComponent: ChartComponent, axis: ProcessedAxis, axisType: AxisType); | ||
columnHoverDrawFunction: ChartColumnHoverDrawFunction; | ||
valuePipeFunctionDefault: ChartValuePipeFunction; | ||
inited: boolean; | ||
@@ -95,0 +92,0 @@ footerHeight: number; |
@@ -0,1 +1,2 @@ | ||
import { ChartComponent } from "./chart.component"; | ||
import { AxisType, ProcessedChartConfiguration, Series, SeriesData, SeriesDataProcessed, ProcessedSeries, ProcessedAxis, ChartMargin, ChartMarginProcessed } from "./chart.interfaces"; | ||
@@ -26,4 +27,4 @@ export declare function modifySeriesMax(axis: ProcessedAxis, max: number | null): number | null; | ||
export declare function processMargin(margin: ChartMargin | undefined): ChartMarginProcessed; | ||
export declare function processSeries(series: Series[], processedChartConfiguration: ProcessedChartConfiguration, localeId: string): ProcessedSeries[]; | ||
export declare function processSeries(series: Series[], processedChartConfiguration: ProcessedChartConfiguration, localeId: string, chart: ChartComponent): ProcessedSeries[]; | ||
export declare function processSeriesDate(processedChartConfiguration: ProcessedChartConfiguration, series: Series[], processedSeries: ProcessedSeries[], localeId: string): void; | ||
export declare function minMax(input: number, min: number, max: number): number; |
@@ -124,6 +124,2 @@ import { ChartComponent } from "./chart.component"; | ||
labelStyle?: ChartStyle | null; | ||
horizontalAxisTitleStyle?: ChartStyle | null; | ||
leftAxisTitleStyle?: ChartStyle | null; | ||
rightAxisTitleStyle?: ChartStyle | null; | ||
labelRotation?: number | null; | ||
backgroundStyle?: ChartStyle; | ||
@@ -135,4 +131,2 @@ labelTransform?: LabelTransformFunction | null; | ||
showHorizontalAxis?: boolean; | ||
showVerticalAxis?: boolean; | ||
showVerticalAxisTitle?: boolean; | ||
rangeIndexStart?: number | null; | ||
@@ -143,5 +137,2 @@ rangeIndexEnd?: number | null; | ||
dateAggregationMode?: ChartDateAggregationMode; | ||
horizontalSteps?: number | null; | ||
stepsValues?: number[]; | ||
stepsDivide?: number; | ||
minLabelDistance?: number; | ||
@@ -177,4 +168,2 @@ rangeSelectionLineStyle?: ChartStyle; | ||
footerLabelStyle: ChartStyle | null; | ||
horizontalAxisTitleStyle: ChartStyle | null; | ||
labelRotation: number | null; | ||
backgroundStyle: ChartStyle; | ||
@@ -186,3 +175,2 @@ labelTransform: LabelTransformFunction | null; | ||
showHorizontalAxis: boolean; | ||
showVerticalAxis: boolean; | ||
rangeIndexStart: number | null; | ||
@@ -193,5 +181,2 @@ rangeIndexEnd: number | null; | ||
dateAggregationMode: ChartDateAggregationMode; | ||
horizontalSteps: number | null; | ||
stepsValues: number[]; | ||
stepsDivide: number; | ||
minLabelDistance: number; | ||
@@ -290,2 +275,3 @@ rangeSelectionLineStyle: ChartStyle | null; | ||
titleStyle?: ChartStyle; | ||
visible?: boolean; | ||
}; | ||
@@ -309,2 +295,3 @@ export declare enum MaxMode { | ||
titleStyle: ChartStyle | null; | ||
visible: boolean; | ||
} | ||
@@ -375,3 +362,3 @@ export interface ChartValuePipeFunctionParams { | ||
valueId: string; | ||
valuePipeFunction: ChartValuePipeFunction | null; | ||
valuePipeFunction: ChartValuePipeFunction; | ||
} | ||
@@ -401,27 +388,2 @@ export interface SeriesDataProcessed { | ||
} | ||
export interface ChartLocale { | ||
contextMenu: { | ||
saveImage: string; | ||
header: string; | ||
legend: string; | ||
visible: string; | ||
rightAxis: string; | ||
leftAxis: string; | ||
showHorizontalAxis: string; | ||
showVerticalAxis: string; | ||
dateAggregation: string; | ||
dateAggregationHour: string; | ||
dateAggregationDay: string; | ||
dateAggregationMonth: string; | ||
dateAggregationYear: string; | ||
}; | ||
saveImage: { | ||
width: string; | ||
height: string; | ||
name: string; | ||
type: string; | ||
save: string; | ||
cancel: string; | ||
}; | ||
} | ||
export interface ChartSvgElementConfiguration { | ||
@@ -450,1 +412,6 @@ clipPathId?: string; | ||
} | ||
export interface AxisDrawValue { | ||
originalValue: (number | null); | ||
displayValue: string; | ||
valueScalePercent: number; | ||
} |
import { InjectionToken } from "@angular/core"; | ||
import { ChartPieTemplateFull, ChartPieTemplateDrawFunction, ChartStyle, ProcessedChartConfiguration, ChartColumnHoverDrawFunction } from "./chart.interfaces"; | ||
import { ChartPieTemplateFull, ChartPieTemplateDrawFunction, ChartStyle, ProcessedChartConfiguration, ChartColumnHoverDrawFunction, ChartValuePipeFunction } from "./chart.interfaces"; | ||
export declare const CHART_DEFAULT_STYLES: InjectionToken<ChartStyle[]>; | ||
@@ -18,1 +18,2 @@ export declare const CHART_DEFAULT_AREA_STYLES: InjectionToken<ChartStyle[]>; | ||
export declare const CHART_PIE_TEMPLATE_DEFAULTS: InjectionToken<ChartPieTemplateFull>; | ||
export declare const SERIES_VALUE_PIPE_FUNCTION_DEFAULT: InjectionToken<ChartValuePipeFunction>; |
@@ -64,1 +64,2 @@ import { AbstractControl, FormBuilder, FormGroup } from "@angular/forms"; | ||
export declare function distanceNumbers(a: number, b: number): number; | ||
export declare function onlyUnique<T>(value: T, index: number, array: T[]): boolean; |
{ | ||
"name": "codefoxui", | ||
"version": "0.6.14", | ||
"version": "0.6.15", | ||
"peerDependencies": { | ||
@@ -5,0 +5,0 @@ "@angular/common": "^16.1.0", |
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
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
6601736
44102