@odoo/o-spreadsheet 19.1.0-alpha.11 → 19.1.0-alpha.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/o-spreadsheet-engine.esm.js +17 -11
- package/dist/o-spreadsheet-engine.iife.js +17 -11
- package/dist/o-spreadsheet-engine.min.iife.js +3 -3
- package/dist/o-spreadsheet.d.ts +10 -339
- package/dist/o_spreadsheet.esm.js +70 -34
- package/dist/o_spreadsheet.iife.js +70 -34
- package/dist/o_spreadsheet.min.iife.js +4 -4
- package/dist/o_spreadsheet.xml +296 -207
- package/package.json +2 -2
package/dist/o-spreadsheet.d.ts
CHANGED
|
@@ -9108,6 +9108,7 @@ type HtmlContent = {
|
|
|
9108
9108
|
onHover?: (rect: Rect) => void;
|
|
9109
9109
|
onStopHover?: () => void;
|
|
9110
9110
|
color?: Color;
|
|
9111
|
+
opacity?: number;
|
|
9111
9112
|
backgroundColor?: Color;
|
|
9112
9113
|
classes?: string[];
|
|
9113
9114
|
};
|
|
@@ -12400,6 +12401,7 @@ declare class GridRenderer extends SpreadsheetStore {
|
|
|
12400
12401
|
private animations;
|
|
12401
12402
|
constructor(get: Get);
|
|
12402
12403
|
handle(cmd: Command): void;
|
|
12404
|
+
finalize(): void;
|
|
12403
12405
|
get renderingLayers(): readonly ["Background", "Headers"];
|
|
12404
12406
|
drawLayer(renderingContext: GridRenderingContext, layer: LayerName, timeStamp: number | undefined): void;
|
|
12405
12407
|
private drawGlobalBackground;
|
|
@@ -13070,6 +13072,7 @@ declare class TopBar extends Component<Props, SpreadsheetChildEnv> {
|
|
|
13070
13072
|
|
|
13071
13073
|
interface SpreadsheetProps extends Partial<NotificationStoreMethods> {
|
|
13072
13074
|
model: Model;
|
|
13075
|
+
colorScheme?: "dark" | "light";
|
|
13073
13076
|
}
|
|
13074
13077
|
declare class Spreadsheet extends Component<SpreadsheetProps, SpreadsheetChildEnv> {
|
|
13075
13078
|
static template: string;
|
|
@@ -13087,6 +13090,10 @@ declare class Spreadsheet extends Component<SpreadsheetProps, SpreadsheetChildEn
|
|
|
13087
13090
|
type: FunctionConstructor;
|
|
13088
13091
|
optional: boolean;
|
|
13089
13092
|
};
|
|
13093
|
+
colorScheme: {
|
|
13094
|
+
type: StringConstructor;
|
|
13095
|
+
optional: boolean;
|
|
13096
|
+
};
|
|
13090
13097
|
};
|
|
13091
13098
|
static components: {
|
|
13092
13099
|
TopBar: typeof TopBar;
|
|
@@ -13122,6 +13129,7 @@ declare class Spreadsheet extends Component<SpreadsheetProps, SpreadsheetChildEn
|
|
|
13122
13129
|
width: number;
|
|
13123
13130
|
height: number;
|
|
13124
13131
|
};
|
|
13132
|
+
getSpreadSheetClasses(): string;
|
|
13125
13133
|
}
|
|
13126
13134
|
|
|
13127
13135
|
/**
|
|
@@ -13351,6 +13359,7 @@ declare const components: {
|
|
|
13351
13359
|
ChartDashboardMenu: typeof ChartDashboardMenu;
|
|
13352
13360
|
FullScreenFigure: typeof FullScreenFigure;
|
|
13353
13361
|
NumberInput: typeof NumberInput;
|
|
13362
|
+
TopBar: typeof TopBar;
|
|
13354
13363
|
};
|
|
13355
13364
|
declare const hooks: {
|
|
13356
13365
|
useDragAndDropListItems: typeof useDragAndDropListItems;
|
|
@@ -13460,345 +13469,7 @@ declare const chartHelpers: {
|
|
|
13460
13469
|
};
|
|
13461
13470
|
getBarChartScales(definition: GenericDefinition<BarChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils.DeepPartial<chart_js.ScaleChartOptions<"line" | "bar">["scales"]>;
|
|
13462
13471
|
getLineChartScales(definition: GenericDefinition<LineChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils.DeepPartial<chart_js.ScaleChartOptions<"line">["scales"]>;
|
|
13463
|
-
getScatterChartScales(definition: GenericDefinition<ScatterChartDefinition>, args: ChartRuntimeGenerationArgs):
|
|
13464
|
-
x: {
|
|
13465
|
-
grid: {
|
|
13466
|
-
display: boolean;
|
|
13467
|
-
};
|
|
13468
|
-
} | {
|
|
13469
|
-
grid: {
|
|
13470
|
-
display: boolean;
|
|
13471
|
-
};
|
|
13472
|
-
type?: "time" | undefined;
|
|
13473
|
-
reverse?: boolean | undefined;
|
|
13474
|
-
offset?: boolean | undefined;
|
|
13475
|
-
backgroundColor?: string | chart_js_dist_types_utils._DeepPartialObject<CanvasGradient> | chart_js_dist_types_utils._DeepPartialObject<CanvasPattern> | undefined;
|
|
13476
|
-
border?: chart_js_dist_types_utils._DeepPartialObject<chart_js.BorderOptions> | undefined;
|
|
13477
|
-
clip?: boolean | undefined;
|
|
13478
|
-
display?: boolean | "auto" | undefined;
|
|
13479
|
-
position?: "center" | "left" | "top" | "bottom" | "right" | chart_js_dist_types_utils._DeepPartialObject<{
|
|
13480
|
-
[scale: string]: number;
|
|
13481
|
-
}> | undefined;
|
|
13482
|
-
title?: chart_js_dist_types_utils._DeepPartialObject<{
|
|
13483
|
-
display: boolean;
|
|
13484
|
-
align: chart_js.Align;
|
|
13485
|
-
text: string | string[];
|
|
13486
|
-
color: chart_js.Color;
|
|
13487
|
-
font: chart_js.ScriptableAndScriptableOptions<Partial<chart_js.FontSpec>, chart_js.ScriptableCartesianScaleContext>;
|
|
13488
|
-
padding: number | {
|
|
13489
|
-
top: number;
|
|
13490
|
-
bottom: number;
|
|
13491
|
-
y: number;
|
|
13492
|
-
};
|
|
13493
|
-
}> | undefined;
|
|
13494
|
-
stack?: string | undefined;
|
|
13495
|
-
weight?: number | undefined;
|
|
13496
|
-
bounds?: "data" | "ticks" | undefined;
|
|
13497
|
-
stackWeight?: number | undefined;
|
|
13498
|
-
axis?: "r" | "x" | "y" | undefined;
|
|
13499
|
-
stacked?: boolean | "single" | undefined;
|
|
13500
|
-
ticks?: chart_js_dist_types_utils._DeepPartialObject<chart_js.TickOptions & {
|
|
13501
|
-
sampleSize: number;
|
|
13502
|
-
align: chart_js.Align | "inner";
|
|
13503
|
-
autoSkip: boolean;
|
|
13504
|
-
autoSkipPadding: number;
|
|
13505
|
-
crossAlign: "near" | "center" | "far";
|
|
13506
|
-
includeBounds: boolean;
|
|
13507
|
-
labelOffset: number;
|
|
13508
|
-
minRotation: number;
|
|
13509
|
-
maxRotation: number;
|
|
13510
|
-
mirror: boolean;
|
|
13511
|
-
padding: number;
|
|
13512
|
-
maxTicksLimit: number;
|
|
13513
|
-
} & chart_js.TimeScaleTickOptions> | undefined;
|
|
13514
|
-
alignToPixels?: boolean | undefined;
|
|
13515
|
-
suggestedMin?: string | number | undefined;
|
|
13516
|
-
suggestedMax?: string | number | undefined;
|
|
13517
|
-
beforeUpdate?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13518
|
-
beforeSetDimensions?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13519
|
-
afterSetDimensions?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13520
|
-
beforeDataLimits?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13521
|
-
afterDataLimits?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13522
|
-
beforeBuildTicks?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13523
|
-
afterBuildTicks?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13524
|
-
beforeTickToLabelConversion?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13525
|
-
afterTickToLabelConversion?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13526
|
-
beforeCalculateLabelRotation?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13527
|
-
afterCalculateLabelRotation?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13528
|
-
beforeFit?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13529
|
-
afterFit?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13530
|
-
afterUpdate?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13531
|
-
min?: string | number | undefined;
|
|
13532
|
-
max?: string | number | undefined;
|
|
13533
|
-
offsetAfterAutoskip?: boolean | undefined;
|
|
13534
|
-
adapters?: chart_js_dist_types_utils._DeepPartialObject<{
|
|
13535
|
-
date: unknown;
|
|
13536
|
-
}> | undefined;
|
|
13537
|
-
time?: chart_js_dist_types_utils._DeepPartialObject<chart_js.TimeScaleTimeOptions> | undefined;
|
|
13538
|
-
} | {
|
|
13539
|
-
grid: {
|
|
13540
|
-
display: boolean;
|
|
13541
|
-
};
|
|
13542
|
-
type?: "linear" | undefined;
|
|
13543
|
-
bounds?: "data" | "ticks" | undefined;
|
|
13544
|
-
position?: "center" | "left" | "top" | "bottom" | "right" | chart_js_dist_types_utils._DeepPartialObject<{
|
|
13545
|
-
[scale: string]: number;
|
|
13546
|
-
}> | undefined;
|
|
13547
|
-
stack?: string | undefined;
|
|
13548
|
-
stackWeight?: number | undefined;
|
|
13549
|
-
axis?: "r" | "x" | "y" | undefined;
|
|
13550
|
-
min?: number | undefined;
|
|
13551
|
-
max?: number | undefined;
|
|
13552
|
-
offset?: boolean | undefined;
|
|
13553
|
-
border?: chart_js_dist_types_utils._DeepPartialObject<chart_js.BorderOptions> | undefined;
|
|
13554
|
-
title?: chart_js_dist_types_utils._DeepPartialObject<{
|
|
13555
|
-
display: boolean;
|
|
13556
|
-
align: chart_js.Align;
|
|
13557
|
-
text: string | string[];
|
|
13558
|
-
color: chart_js.Color;
|
|
13559
|
-
font: chart_js.ScriptableAndScriptableOptions<Partial<chart_js.FontSpec>, chart_js.ScriptableCartesianScaleContext>;
|
|
13560
|
-
padding: number | {
|
|
13561
|
-
top: number;
|
|
13562
|
-
bottom: number;
|
|
13563
|
-
y: number;
|
|
13564
|
-
};
|
|
13565
|
-
}> | undefined;
|
|
13566
|
-
stacked?: boolean | "single" | undefined;
|
|
13567
|
-
ticks?: chart_js_dist_types_utils._DeepPartialObject<chart_js.TickOptions & {
|
|
13568
|
-
sampleSize: number;
|
|
13569
|
-
align: chart_js.Align | "inner";
|
|
13570
|
-
autoSkip: boolean;
|
|
13571
|
-
autoSkipPadding: number;
|
|
13572
|
-
crossAlign: "near" | "center" | "far";
|
|
13573
|
-
includeBounds: boolean;
|
|
13574
|
-
labelOffset: number;
|
|
13575
|
-
minRotation: number;
|
|
13576
|
-
maxRotation: number;
|
|
13577
|
-
mirror: boolean;
|
|
13578
|
-
padding: number;
|
|
13579
|
-
maxTicksLimit: number;
|
|
13580
|
-
} & {
|
|
13581
|
-
format: Intl.NumberFormatOptions;
|
|
13582
|
-
precision: number;
|
|
13583
|
-
stepSize: number;
|
|
13584
|
-
count: number;
|
|
13585
|
-
}> | undefined;
|
|
13586
|
-
display?: boolean | "auto" | undefined;
|
|
13587
|
-
alignToPixels?: boolean | undefined;
|
|
13588
|
-
backgroundColor?: string | chart_js_dist_types_utils._DeepPartialObject<CanvasGradient> | chart_js_dist_types_utils._DeepPartialObject<CanvasPattern> | undefined;
|
|
13589
|
-
reverse?: boolean | undefined;
|
|
13590
|
-
clip?: boolean | undefined;
|
|
13591
|
-
weight?: number | undefined;
|
|
13592
|
-
suggestedMin?: number | undefined;
|
|
13593
|
-
suggestedMax?: number | undefined;
|
|
13594
|
-
beforeUpdate?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13595
|
-
beforeSetDimensions?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13596
|
-
afterSetDimensions?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13597
|
-
beforeDataLimits?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13598
|
-
afterDataLimits?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13599
|
-
beforeBuildTicks?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13600
|
-
afterBuildTicks?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13601
|
-
beforeTickToLabelConversion?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13602
|
-
afterTickToLabelConversion?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13603
|
-
beforeCalculateLabelRotation?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13604
|
-
afterCalculateLabelRotation?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13605
|
-
beforeFit?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13606
|
-
afterFit?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13607
|
-
afterUpdate?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13608
|
-
beginAtZero?: boolean | undefined;
|
|
13609
|
-
grace?: string | number | undefined;
|
|
13610
|
-
} | {
|
|
13611
|
-
grid: {
|
|
13612
|
-
display: boolean;
|
|
13613
|
-
};
|
|
13614
|
-
type?: "logarithmic" | undefined;
|
|
13615
|
-
bounds?: "data" | "ticks" | undefined;
|
|
13616
|
-
position?: "center" | "left" | "top" | "bottom" | "right" | chart_js_dist_types_utils._DeepPartialObject<{
|
|
13617
|
-
[scale: string]: number;
|
|
13618
|
-
}> | undefined;
|
|
13619
|
-
stack?: string | undefined;
|
|
13620
|
-
stackWeight?: number | undefined;
|
|
13621
|
-
axis?: "r" | "x" | "y" | undefined;
|
|
13622
|
-
min?: number | undefined;
|
|
13623
|
-
max?: number | undefined;
|
|
13624
|
-
offset?: boolean | undefined;
|
|
13625
|
-
border?: chart_js_dist_types_utils._DeepPartialObject<chart_js.BorderOptions> | undefined;
|
|
13626
|
-
title?: chart_js_dist_types_utils._DeepPartialObject<{
|
|
13627
|
-
display: boolean;
|
|
13628
|
-
align: chart_js.Align;
|
|
13629
|
-
text: string | string[];
|
|
13630
|
-
color: chart_js.Color;
|
|
13631
|
-
font: chart_js.ScriptableAndScriptableOptions<Partial<chart_js.FontSpec>, chart_js.ScriptableCartesianScaleContext>;
|
|
13632
|
-
padding: number | {
|
|
13633
|
-
top: number;
|
|
13634
|
-
bottom: number;
|
|
13635
|
-
y: number;
|
|
13636
|
-
};
|
|
13637
|
-
}> | undefined;
|
|
13638
|
-
stacked?: boolean | "single" | undefined;
|
|
13639
|
-
ticks?: chart_js_dist_types_utils._DeepPartialObject<chart_js.TickOptions & {
|
|
13640
|
-
sampleSize: number;
|
|
13641
|
-
align: chart_js.Align | "inner";
|
|
13642
|
-
autoSkip: boolean;
|
|
13643
|
-
autoSkipPadding: number;
|
|
13644
|
-
crossAlign: "near" | "center" | "far";
|
|
13645
|
-
includeBounds: boolean;
|
|
13646
|
-
labelOffset: number;
|
|
13647
|
-
minRotation: number;
|
|
13648
|
-
maxRotation: number;
|
|
13649
|
-
mirror: boolean;
|
|
13650
|
-
padding: number;
|
|
13651
|
-
maxTicksLimit: number;
|
|
13652
|
-
} & {
|
|
13653
|
-
format: Intl.NumberFormatOptions;
|
|
13654
|
-
}> | undefined;
|
|
13655
|
-
display?: boolean | "auto" | undefined;
|
|
13656
|
-
alignToPixels?: boolean | undefined;
|
|
13657
|
-
backgroundColor?: string | chart_js_dist_types_utils._DeepPartialObject<CanvasGradient> | chart_js_dist_types_utils._DeepPartialObject<CanvasPattern> | undefined;
|
|
13658
|
-
reverse?: boolean | undefined;
|
|
13659
|
-
clip?: boolean | undefined;
|
|
13660
|
-
weight?: number | undefined;
|
|
13661
|
-
suggestedMin?: number | undefined;
|
|
13662
|
-
suggestedMax?: number | undefined;
|
|
13663
|
-
beforeUpdate?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13664
|
-
beforeSetDimensions?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13665
|
-
afterSetDimensions?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13666
|
-
beforeDataLimits?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13667
|
-
afterDataLimits?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13668
|
-
beforeBuildTicks?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13669
|
-
afterBuildTicks?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13670
|
-
beforeTickToLabelConversion?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13671
|
-
afterTickToLabelConversion?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13672
|
-
beforeCalculateLabelRotation?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13673
|
-
afterCalculateLabelRotation?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13674
|
-
beforeFit?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13675
|
-
afterFit?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13676
|
-
afterUpdate?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13677
|
-
} | {
|
|
13678
|
-
grid: {
|
|
13679
|
-
display: boolean;
|
|
13680
|
-
};
|
|
13681
|
-
type?: "category" | undefined;
|
|
13682
|
-
reverse?: boolean | undefined;
|
|
13683
|
-
offset?: boolean | undefined;
|
|
13684
|
-
backgroundColor?: string | chart_js_dist_types_utils._DeepPartialObject<CanvasGradient> | chart_js_dist_types_utils._DeepPartialObject<CanvasPattern> | undefined;
|
|
13685
|
-
border?: chart_js_dist_types_utils._DeepPartialObject<chart_js.BorderOptions> | undefined;
|
|
13686
|
-
clip?: boolean | undefined;
|
|
13687
|
-
display?: boolean | "auto" | undefined;
|
|
13688
|
-
position?: "center" | "left" | "top" | "bottom" | "right" | chart_js_dist_types_utils._DeepPartialObject<{
|
|
13689
|
-
[scale: string]: number;
|
|
13690
|
-
}> | undefined;
|
|
13691
|
-
title?: chart_js_dist_types_utils._DeepPartialObject<{
|
|
13692
|
-
display: boolean;
|
|
13693
|
-
align: chart_js.Align;
|
|
13694
|
-
text: string | string[];
|
|
13695
|
-
color: chart_js.Color;
|
|
13696
|
-
font: chart_js.ScriptableAndScriptableOptions<Partial<chart_js.FontSpec>, chart_js.ScriptableCartesianScaleContext>;
|
|
13697
|
-
padding: number | {
|
|
13698
|
-
top: number;
|
|
13699
|
-
bottom: number;
|
|
13700
|
-
y: number;
|
|
13701
|
-
};
|
|
13702
|
-
}> | undefined;
|
|
13703
|
-
stack?: string | undefined;
|
|
13704
|
-
weight?: number | undefined;
|
|
13705
|
-
bounds?: "data" | "ticks" | undefined;
|
|
13706
|
-
stackWeight?: number | undefined;
|
|
13707
|
-
axis?: "r" | "x" | "y" | undefined;
|
|
13708
|
-
stacked?: boolean | "single" | undefined;
|
|
13709
|
-
ticks?: chart_js_dist_types_utils._DeepPartialObject<chart_js.CartesianTickOptions> | undefined;
|
|
13710
|
-
alignToPixels?: boolean | undefined;
|
|
13711
|
-
suggestedMin?: unknown;
|
|
13712
|
-
suggestedMax?: unknown;
|
|
13713
|
-
beforeUpdate?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13714
|
-
beforeSetDimensions?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13715
|
-
afterSetDimensions?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13716
|
-
beforeDataLimits?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13717
|
-
afterDataLimits?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13718
|
-
beforeBuildTicks?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13719
|
-
afterBuildTicks?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13720
|
-
beforeTickToLabelConversion?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13721
|
-
afterTickToLabelConversion?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13722
|
-
beforeCalculateLabelRotation?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13723
|
-
afterCalculateLabelRotation?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13724
|
-
beforeFit?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13725
|
-
afterFit?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13726
|
-
afterUpdate?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13727
|
-
min?: string | number | undefined;
|
|
13728
|
-
max?: string | number | undefined;
|
|
13729
|
-
labels?: chart_js_dist_types_utils._DeepPartialArray<string> | chart_js_dist_types_utils._DeepPartialArray<string[]> | undefined;
|
|
13730
|
-
} | {
|
|
13731
|
-
grid: {
|
|
13732
|
-
display: boolean;
|
|
13733
|
-
};
|
|
13734
|
-
type?: "timeseries" | undefined;
|
|
13735
|
-
reverse?: boolean | undefined;
|
|
13736
|
-
offset?: boolean | undefined;
|
|
13737
|
-
backgroundColor?: string | chart_js_dist_types_utils._DeepPartialObject<CanvasGradient> | chart_js_dist_types_utils._DeepPartialObject<CanvasPattern> | undefined;
|
|
13738
|
-
border?: chart_js_dist_types_utils._DeepPartialObject<chart_js.BorderOptions> | undefined;
|
|
13739
|
-
clip?: boolean | undefined;
|
|
13740
|
-
display?: boolean | "auto" | undefined;
|
|
13741
|
-
position?: "center" | "left" | "top" | "bottom" | "right" | chart_js_dist_types_utils._DeepPartialObject<{
|
|
13742
|
-
[scale: string]: number;
|
|
13743
|
-
}> | undefined;
|
|
13744
|
-
title?: chart_js_dist_types_utils._DeepPartialObject<{
|
|
13745
|
-
display: boolean;
|
|
13746
|
-
align: chart_js.Align;
|
|
13747
|
-
text: string | string[];
|
|
13748
|
-
color: chart_js.Color;
|
|
13749
|
-
font: chart_js.ScriptableAndScriptableOptions<Partial<chart_js.FontSpec>, chart_js.ScriptableCartesianScaleContext>;
|
|
13750
|
-
padding: number | {
|
|
13751
|
-
top: number;
|
|
13752
|
-
bottom: number;
|
|
13753
|
-
y: number;
|
|
13754
|
-
};
|
|
13755
|
-
}> | undefined;
|
|
13756
|
-
stack?: string | undefined;
|
|
13757
|
-
weight?: number | undefined;
|
|
13758
|
-
bounds?: "data" | "ticks" | undefined;
|
|
13759
|
-
stackWeight?: number | undefined;
|
|
13760
|
-
axis?: "r" | "x" | "y" | undefined;
|
|
13761
|
-
stacked?: boolean | "single" | undefined;
|
|
13762
|
-
ticks?: chart_js_dist_types_utils._DeepPartialObject<chart_js.TickOptions & {
|
|
13763
|
-
sampleSize: number;
|
|
13764
|
-
align: chart_js.Align | "inner";
|
|
13765
|
-
autoSkip: boolean;
|
|
13766
|
-
autoSkipPadding: number;
|
|
13767
|
-
crossAlign: "near" | "center" | "far";
|
|
13768
|
-
includeBounds: boolean;
|
|
13769
|
-
labelOffset: number;
|
|
13770
|
-
minRotation: number;
|
|
13771
|
-
maxRotation: number;
|
|
13772
|
-
mirror: boolean;
|
|
13773
|
-
padding: number;
|
|
13774
|
-
maxTicksLimit: number;
|
|
13775
|
-
} & chart_js.TimeScaleTickOptions> | undefined;
|
|
13776
|
-
alignToPixels?: boolean | undefined;
|
|
13777
|
-
suggestedMin?: string | number | undefined;
|
|
13778
|
-
suggestedMax?: string | number | undefined;
|
|
13779
|
-
beforeUpdate?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13780
|
-
beforeSetDimensions?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13781
|
-
afterSetDimensions?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13782
|
-
beforeDataLimits?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13783
|
-
afterDataLimits?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13784
|
-
beforeBuildTicks?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13785
|
-
afterBuildTicks?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13786
|
-
beforeTickToLabelConversion?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13787
|
-
afterTickToLabelConversion?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13788
|
-
beforeCalculateLabelRotation?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13789
|
-
afterCalculateLabelRotation?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13790
|
-
beforeFit?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13791
|
-
afterFit?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13792
|
-
afterUpdate?: ((axis: chart_js.Scale) => void) | undefined;
|
|
13793
|
-
min?: string | number | undefined;
|
|
13794
|
-
max?: string | number | undefined;
|
|
13795
|
-
offsetAfterAutoskip?: boolean | undefined;
|
|
13796
|
-
adapters?: chart_js_dist_types_utils._DeepPartialObject<{
|
|
13797
|
-
date: unknown;
|
|
13798
|
-
}> | undefined;
|
|
13799
|
-
time?: chart_js_dist_types_utils._DeepPartialObject<chart_js.TimeScaleTimeOptions> | undefined;
|
|
13800
|
-
};
|
|
13801
|
-
};
|
|
13472
|
+
getScatterChartScales(definition: GenericDefinition<ScatterChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils.DeepPartial<chart_js.ScaleChartOptions<"line">["scales"]>;
|
|
13802
13473
|
getWaterfallChartScales(definition: WaterfallChartDefinition, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<{
|
|
13803
13474
|
[key: string]: chart_js.ScaleOptionsByType<"radialLinear" | keyof chart_js.CartesianScaleTypeRegistry>;
|
|
13804
13475
|
}>;
|