@odoo/o-spreadsheet 19.0.9 → 19.0.10

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.
@@ -2,9 +2,9 @@
2
2
  /**
3
3
  * This file is generated by o-spreadsheet build tools. Do not edit it.
4
4
  * @see https://github.com/odoo/o-spreadsheet
5
- * @version 19.0.9
6
- * @date 2025-11-03T12:32:15.473Z
7
- * @hash 10359f4
5
+ * @version 19.0.10
6
+ * @date 2025-11-12T14:15:51.076Z
7
+ * @hash 18ac688
8
8
  */
9
9
 
10
10
  'use strict';
@@ -2501,7 +2501,10 @@ function isInside(col, row, zone) {
2501
2501
  * Check if a zone is inside another
2502
2502
  */
2503
2503
  function isZoneInside(smallZone, biggerZone) {
2504
- return isEqual(union(biggerZone, smallZone), biggerZone);
2504
+ return (smallZone.left >= biggerZone.left &&
2505
+ smallZone.right <= biggerZone.right &&
2506
+ smallZone.top >= biggerZone.top &&
2507
+ smallZone.bottom <= biggerZone.bottom);
2505
2508
  }
2506
2509
  function zoneToDimension(zone) {
2507
2510
  return {
@@ -6904,7 +6907,7 @@ function getRangeString(range, forSheetId, getSheetName, options = { useBoundedR
6904
6907
  let sheetName = "";
6905
6908
  if (prefixSheet) {
6906
6909
  if (range.invalidSheetName) {
6907
- sheetName = range.invalidSheetName;
6910
+ sheetName = getCanonicalSymbolName(range.invalidSheetName);
6908
6911
  }
6909
6912
  else {
6910
6913
  sheetName = getCanonicalSymbolName(getSheetName(range.sheetId));
@@ -24420,7 +24423,7 @@ let ScorecardChart$1 = class ScorecardChart extends AbstractChart {
24420
24423
  return {
24421
24424
  background: context.background,
24422
24425
  type: "scorecard",
24423
- keyValue: context.range ? context.range[0].dataRange : undefined,
24426
+ keyValue: context.range?.[0]?.dataRange,
24424
24427
  title: context.title || { text: "" },
24425
24428
  baselineMode: DEFAULT_SCORECARD_BASELINE_MODE,
24426
24429
  baselineColorUp: DEFAULT_SCORECARD_BASELINE_COLOR_UP,
@@ -29129,7 +29132,7 @@ class GaugeChart extends AbstractChart {
29129
29132
  background: context.background,
29130
29133
  title: context.title || { text: "" },
29131
29134
  type: "gauge",
29132
- dataRange: context.range ? context.range[0].dataRange : undefined,
29135
+ dataRange: context.range?.[0]?.dataRange,
29133
29136
  sectionRule: {
29134
29137
  colors: {
29135
29138
  lowerColor: DEFAULT_GAUGE_LOWER_COLOR,
@@ -31021,8 +31024,7 @@ function generateMasterChartConfig(chartJsConfig) {
31021
31024
  .filter((ds) => !isTrendLineAxis(ds["xAxisID"]))
31022
31025
  .map((ds) => ({
31023
31026
  ...ds,
31024
- pointRadius: 0,
31025
- showLine: true,
31027
+ pointRadius: ds.showLine === false ? 2 : 0, // Show points only for scatter plots
31026
31028
  })),
31027
31029
  },
31028
31030
  options: {
@@ -35164,6 +35166,7 @@ class AbstractComposerStore extends SpreadsheetStore {
35164
35166
  this.highlightStore.register(this);
35165
35167
  this.onDispose(() => {
35166
35168
  this.highlightStore.unRegister(this);
35169
+ this._cancelEdition();
35167
35170
  });
35168
35171
  }
35169
35172
  handleEvent(event) {
@@ -52191,6 +52194,9 @@ class GridRenderer extends SpreadsheetStore {
52191
52194
  break;
52192
52195
  }
52193
52196
  }
52197
+ finalize() {
52198
+ this.zonesWithPreventedAnimationsInNextFrame = recomputeZones(this.zonesWithPreventedAnimationsInNextFrame);
52199
+ }
52194
52200
  get renderingLayers() {
52195
52201
  return ["Background", "Headers"];
52196
52202
  }
@@ -80488,6 +80494,7 @@ topbarMenuRegistry
80488
80494
  .add("file", {
80489
80495
  name: _t("File"),
80490
80496
  sequence: 10,
80497
+ isReadonlyAllowed: true,
80491
80498
  })
80492
80499
  .addChild("settings", ["file"], {
80493
80500
  name: _t("Settings"),
@@ -80502,6 +80509,7 @@ topbarMenuRegistry
80502
80509
  .add("edit", {
80503
80510
  name: _t("Edit"),
80504
80511
  sequence: 20,
80512
+ isReadonlyAllowed: true,
80505
80513
  })
80506
80514
  .addChild("undo", ["edit"], {
80507
80515
  ...undo,
@@ -80586,6 +80594,7 @@ topbarMenuRegistry
80586
80594
  .add("view", {
80587
80595
  name: _t("View"),
80588
80596
  sequence: 30,
80597
+ isReadonlyAllowed: true,
80589
80598
  })
80590
80599
  .addChild("unfreeze_panes", ["view"], {
80591
80600
  ...unFreezePane,
@@ -80677,6 +80686,7 @@ topbarMenuRegistry
80677
80686
  .add("insert", {
80678
80687
  name: _t("Insert"),
80679
80688
  sequence: 40,
80689
+ isReadonlyAllowed: true,
80680
80690
  })
80681
80691
  .addChild("insert_row", ["insert"], {
80682
80692
  ...insertRow,
@@ -80788,7 +80798,11 @@ topbarMenuRegistry
80788
80798
  // ---------------------------------------------------------------------
80789
80799
  // FORMAT MENU ITEMS
80790
80800
  // ---------------------------------------------------------------------
80791
- .add("format", { name: _t("Format"), sequence: 50 })
80801
+ .add("format", {
80802
+ name: _t("Format"),
80803
+ sequence: 50,
80804
+ isReadonlyAllowed: true,
80805
+ })
80792
80806
  .addChild("format_number", ["format"], {
80793
80807
  ...formatNumberMenuItemSpec,
80794
80808
  name: _t("Number"),
@@ -80880,6 +80894,7 @@ topbarMenuRegistry
80880
80894
  .add("data", {
80881
80895
  name: _t("Data"),
80882
80896
  sequence: 60,
80897
+ isReadonlyAllowed: true,
80883
80898
  })
80884
80899
  .addChild("sort_range", ["data"], {
80885
80900
  ...sortRange,
@@ -88969,6 +88984,6 @@ exports.tokenColors = tokenColors;
88969
88984
  exports.tokenize = tokenize;
88970
88985
 
88971
88986
 
88972
- __info__.version = "19.0.9";
88973
- __info__.date = "2025-11-03T12:32:15.473Z";
88974
- __info__.hash = "10359f4";
88987
+ __info__.version = "19.0.10";
88988
+ __info__.date = "2025-11-12T14:15:51.076Z";
88989
+ __info__.hash = "18ac688";
@@ -322,8 +322,8 @@ interface LineChartDefinition extends CommonChartDefinition {
322
322
  readonly zoomable?: boolean;
323
323
  }
324
324
  type LineChartRuntime = {
325
- chartJsConfig: ChartConfiguration;
326
- masterChartConfig?: ChartConfiguration;
325
+ chartJsConfig: ChartConfiguration<"line">;
326
+ masterChartConfig?: ChartConfiguration<"line">;
327
327
  background: Color;
328
328
  };
329
329
 
@@ -12188,6 +12188,7 @@ declare class GridRenderer extends SpreadsheetStore {
12188
12188
  private animations;
12189
12189
  constructor(get: Get);
12190
12190
  handle(cmd: Command): void;
12191
+ finalize(): void;
12191
12192
  get renderingLayers(): readonly ["Background", "Headers"];
12192
12193
  drawLayer(renderingContext: GridRenderingContext, layer: LayerName, timeStamp: number | undefined): void;
12193
12194
  private drawGlobalBackground;
@@ -13232,399 +13233,8 @@ declare const chartHelpers: {
13232
13233
  getBarChartScales(definition: GenericDefinition<BarChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<{
13233
13234
  [key: string]: chart_js.ScaleOptionsByType<"radialLinear" | keyof chart_js.CartesianScaleTypeRegistry>;
13234
13235
  }>;
13235
- getLineChartScales(definition: GenericDefinition<LineChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<{
13236
- [key: string]: chart_js.ScaleOptionsByType<"radialLinear" | keyof chart_js.CartesianScaleTypeRegistry>;
13237
- }>;
13238
- getScatterChartScales(definition: GenericDefinition<ScatterChartDefinition>, args: ChartRuntimeGenerationArgs): {
13239
- x: {
13240
- grid: {
13241
- display: boolean;
13242
- };
13243
- } | {
13244
- grid: {
13245
- display: boolean;
13246
- };
13247
- type?: "time" | undefined;
13248
- reverse?: boolean | undefined;
13249
- offset?: boolean | undefined;
13250
- backgroundColor?: string | chart_js_dist_types_utils._DeepPartialObject<CanvasGradient> | chart_js_dist_types_utils._DeepPartialObject<CanvasPattern> | undefined;
13251
- border?: chart_js_dist_types_utils._DeepPartialObject<chart_js.BorderOptions> | undefined;
13252
- clip?: boolean | undefined;
13253
- display?: boolean | "auto" | undefined;
13254
- position?: "center" | "left" | "top" | "bottom" | "right" | chart_js_dist_types_utils._DeepPartialObject<{
13255
- [scale: string]: number;
13256
- }> | undefined;
13257
- title?: chart_js_dist_types_utils._DeepPartialObject<{
13258
- display: boolean;
13259
- align: chart_js.Align;
13260
- text: string | string[];
13261
- color: chart_js.Color;
13262
- font: chart_js.ScriptableAndScriptableOptions<Partial<chart_js.FontSpec>, chart_js.ScriptableCartesianScaleContext>;
13263
- padding: number | {
13264
- top: number;
13265
- bottom: number;
13266
- y: number;
13267
- };
13268
- }> | undefined;
13269
- stack?: string | undefined;
13270
- weight?: number | undefined;
13271
- bounds?: "data" | "ticks" | undefined;
13272
- stackWeight?: number | undefined;
13273
- axis?: "r" | "x" | "y" | undefined;
13274
- stacked?: boolean | "single" | undefined;
13275
- ticks?: chart_js_dist_types_utils._DeepPartialObject<chart_js.TickOptions & {
13276
- sampleSize: number;
13277
- align: chart_js.Align | "inner";
13278
- autoSkip: boolean;
13279
- autoSkipPadding: number;
13280
- crossAlign: "near" | "center" | "far";
13281
- includeBounds: boolean;
13282
- labelOffset: number;
13283
- minRotation: number;
13284
- maxRotation: number;
13285
- mirror: boolean;
13286
- padding: number;
13287
- maxTicksLimit: number;
13288
- } & chart_js.TimeScaleTickOptions> | undefined;
13289
- alignToPixels?: boolean | undefined;
13290
- suggestedMin?: string | number | undefined;
13291
- suggestedMax?: string | number | undefined;
13292
- beforeUpdate?: ((axis: chart_js.Scale) => void) | undefined;
13293
- beforeSetDimensions?: ((axis: chart_js.Scale) => void) | undefined;
13294
- afterSetDimensions?: ((axis: chart_js.Scale) => void) | undefined;
13295
- beforeDataLimits?: ((axis: chart_js.Scale) => void) | undefined;
13296
- afterDataLimits?: ((axis: chart_js.Scale) => void) | undefined;
13297
- beforeBuildTicks?: ((axis: chart_js.Scale) => void) | undefined;
13298
- afterBuildTicks?: ((axis: chart_js.Scale) => void) | undefined;
13299
- beforeTickToLabelConversion?: ((axis: chart_js.Scale) => void) | undefined;
13300
- afterTickToLabelConversion?: ((axis: chart_js.Scale) => void) | undefined;
13301
- beforeCalculateLabelRotation?: ((axis: chart_js.Scale) => void) | undefined;
13302
- afterCalculateLabelRotation?: ((axis: chart_js.Scale) => void) | undefined;
13303
- beforeFit?: ((axis: chart_js.Scale) => void) | undefined;
13304
- afterFit?: ((axis: chart_js.Scale) => void) | undefined;
13305
- afterUpdate?: ((axis: chart_js.Scale) => void) | undefined;
13306
- min?: string | number | undefined;
13307
- max?: string | number | undefined;
13308
- offsetAfterAutoskip?: boolean | undefined;
13309
- adapters?: chart_js_dist_types_utils._DeepPartialObject<{
13310
- date: unknown;
13311
- }> | undefined;
13312
- time?: chart_js_dist_types_utils._DeepPartialObject<chart_js.TimeScaleTimeOptions> | undefined;
13313
- } | {
13314
- grid: {
13315
- display: boolean;
13316
- };
13317
- type?: "linear" | undefined;
13318
- bounds?: "data" | "ticks" | undefined;
13319
- position?: "center" | "left" | "top" | "bottom" | "right" | chart_js_dist_types_utils._DeepPartialObject<{
13320
- [scale: string]: number;
13321
- }> | undefined;
13322
- stack?: string | undefined;
13323
- stackWeight?: number | undefined;
13324
- axis?: "r" | "x" | "y" | undefined;
13325
- min?: number | undefined;
13326
- max?: number | undefined;
13327
- offset?: boolean | undefined;
13328
- border?: chart_js_dist_types_utils._DeepPartialObject<chart_js.BorderOptions> | undefined;
13329
- title?: chart_js_dist_types_utils._DeepPartialObject<{
13330
- display: boolean;
13331
- align: chart_js.Align;
13332
- text: string | string[];
13333
- color: chart_js.Color;
13334
- font: chart_js.ScriptableAndScriptableOptions<Partial<chart_js.FontSpec>, chart_js.ScriptableCartesianScaleContext>;
13335
- padding: number | {
13336
- top: number;
13337
- bottom: number;
13338
- y: number;
13339
- };
13340
- }> | undefined;
13341
- stacked?: boolean | "single" | undefined;
13342
- ticks?: chart_js_dist_types_utils._DeepPartialObject<chart_js.TickOptions & {
13343
- sampleSize: number;
13344
- align: chart_js.Align | "inner";
13345
- autoSkip: boolean;
13346
- autoSkipPadding: number;
13347
- crossAlign: "near" | "center" | "far";
13348
- includeBounds: boolean;
13349
- labelOffset: number;
13350
- minRotation: number;
13351
- maxRotation: number;
13352
- mirror: boolean;
13353
- padding: number;
13354
- maxTicksLimit: number;
13355
- } & {
13356
- format: Intl.NumberFormatOptions;
13357
- precision: number;
13358
- stepSize: number;
13359
- count: number;
13360
- }> | undefined;
13361
- display?: boolean | "auto" | undefined;
13362
- alignToPixels?: boolean | undefined;
13363
- backgroundColor?: string | chart_js_dist_types_utils._DeepPartialObject<CanvasGradient> | chart_js_dist_types_utils._DeepPartialObject<CanvasPattern> | undefined;
13364
- reverse?: boolean | undefined;
13365
- clip?: boolean | undefined;
13366
- weight?: number | undefined;
13367
- suggestedMin?: number | undefined;
13368
- suggestedMax?: number | undefined;
13369
- beforeUpdate?: ((axis: chart_js.Scale) => void) | undefined;
13370
- beforeSetDimensions?: ((axis: chart_js.Scale) => void) | undefined;
13371
- afterSetDimensions?: ((axis: chart_js.Scale) => void) | undefined;
13372
- beforeDataLimits?: ((axis: chart_js.Scale) => void) | undefined;
13373
- afterDataLimits?: ((axis: chart_js.Scale) => void) | undefined;
13374
- beforeBuildTicks?: ((axis: chart_js.Scale) => void) | undefined;
13375
- afterBuildTicks?: ((axis: chart_js.Scale) => void) | undefined;
13376
- beforeTickToLabelConversion?: ((axis: chart_js.Scale) => void) | undefined;
13377
- afterTickToLabelConversion?: ((axis: chart_js.Scale) => void) | undefined;
13378
- beforeCalculateLabelRotation?: ((axis: chart_js.Scale) => void) | undefined;
13379
- afterCalculateLabelRotation?: ((axis: chart_js.Scale) => void) | undefined;
13380
- beforeFit?: ((axis: chart_js.Scale) => void) | undefined;
13381
- afterFit?: ((axis: chart_js.Scale) => void) | undefined;
13382
- afterUpdate?: ((axis: chart_js.Scale) => void) | undefined;
13383
- beginAtZero?: boolean | undefined;
13384
- grace?: string | number | undefined;
13385
- } | {
13386
- grid: {
13387
- display: boolean;
13388
- };
13389
- type?: "logarithmic" | undefined;
13390
- bounds?: "data" | "ticks" | undefined;
13391
- position?: "center" | "left" | "top" | "bottom" | "right" | chart_js_dist_types_utils._DeepPartialObject<{
13392
- [scale: string]: number;
13393
- }> | undefined;
13394
- stack?: string | undefined;
13395
- stackWeight?: number | undefined;
13396
- axis?: "r" | "x" | "y" | undefined;
13397
- min?: number | undefined;
13398
- max?: number | undefined;
13399
- offset?: boolean | undefined;
13400
- border?: chart_js_dist_types_utils._DeepPartialObject<chart_js.BorderOptions> | undefined;
13401
- title?: chart_js_dist_types_utils._DeepPartialObject<{
13402
- display: boolean;
13403
- align: chart_js.Align;
13404
- text: string | string[];
13405
- color: chart_js.Color;
13406
- font: chart_js.ScriptableAndScriptableOptions<Partial<chart_js.FontSpec>, chart_js.ScriptableCartesianScaleContext>;
13407
- padding: number | {
13408
- top: number;
13409
- bottom: number;
13410
- y: number;
13411
- };
13412
- }> | undefined;
13413
- stacked?: boolean | "single" | undefined;
13414
- ticks?: chart_js_dist_types_utils._DeepPartialObject<chart_js.TickOptions & {
13415
- sampleSize: number;
13416
- align: chart_js.Align | "inner";
13417
- autoSkip: boolean;
13418
- autoSkipPadding: number;
13419
- crossAlign: "near" | "center" | "far";
13420
- includeBounds: boolean;
13421
- labelOffset: number;
13422
- minRotation: number;
13423
- maxRotation: number;
13424
- mirror: boolean;
13425
- padding: number;
13426
- maxTicksLimit: number;
13427
- } & {
13428
- format: Intl.NumberFormatOptions;
13429
- }> | undefined;
13430
- display?: boolean | "auto" | undefined;
13431
- alignToPixels?: boolean | undefined;
13432
- backgroundColor?: string | chart_js_dist_types_utils._DeepPartialObject<CanvasGradient> | chart_js_dist_types_utils._DeepPartialObject<CanvasPattern> | undefined;
13433
- reverse?: boolean | undefined;
13434
- clip?: boolean | undefined;
13435
- weight?: number | undefined;
13436
- suggestedMin?: number | undefined;
13437
- suggestedMax?: number | undefined;
13438
- beforeUpdate?: ((axis: chart_js.Scale) => void) | undefined;
13439
- beforeSetDimensions?: ((axis: chart_js.Scale) => void) | undefined;
13440
- afterSetDimensions?: ((axis: chart_js.Scale) => void) | undefined;
13441
- beforeDataLimits?: ((axis: chart_js.Scale) => void) | undefined;
13442
- afterDataLimits?: ((axis: chart_js.Scale) => void) | undefined;
13443
- beforeBuildTicks?: ((axis: chart_js.Scale) => void) | undefined;
13444
- afterBuildTicks?: ((axis: chart_js.Scale) => void) | undefined;
13445
- beforeTickToLabelConversion?: ((axis: chart_js.Scale) => void) | undefined;
13446
- afterTickToLabelConversion?: ((axis: chart_js.Scale) => void) | undefined;
13447
- beforeCalculateLabelRotation?: ((axis: chart_js.Scale) => void) | undefined;
13448
- afterCalculateLabelRotation?: ((axis: chart_js.Scale) => void) | undefined;
13449
- beforeFit?: ((axis: chart_js.Scale) => void) | undefined;
13450
- afterFit?: ((axis: chart_js.Scale) => void) | undefined;
13451
- afterUpdate?: ((axis: chart_js.Scale) => void) | undefined;
13452
- } | {
13453
- grid: {
13454
- display: boolean;
13455
- };
13456
- type?: "category" | undefined;
13457
- reverse?: boolean | undefined;
13458
- offset?: boolean | undefined;
13459
- backgroundColor?: string | chart_js_dist_types_utils._DeepPartialObject<CanvasGradient> | chart_js_dist_types_utils._DeepPartialObject<CanvasPattern> | undefined;
13460
- border?: chart_js_dist_types_utils._DeepPartialObject<chart_js.BorderOptions> | undefined;
13461
- clip?: boolean | undefined;
13462
- display?: boolean | "auto" | undefined;
13463
- position?: "center" | "left" | "top" | "bottom" | "right" | chart_js_dist_types_utils._DeepPartialObject<{
13464
- [scale: string]: number;
13465
- }> | undefined;
13466
- title?: chart_js_dist_types_utils._DeepPartialObject<{
13467
- display: boolean;
13468
- align: chart_js.Align;
13469
- text: string | string[];
13470
- color: chart_js.Color;
13471
- font: chart_js.ScriptableAndScriptableOptions<Partial<chart_js.FontSpec>, chart_js.ScriptableCartesianScaleContext>;
13472
- padding: number | {
13473
- top: number;
13474
- bottom: number;
13475
- y: number;
13476
- };
13477
- }> | undefined;
13478
- stack?: string | undefined;
13479
- weight?: number | undefined;
13480
- bounds?: "data" | "ticks" | undefined;
13481
- stackWeight?: number | undefined;
13482
- axis?: "r" | "x" | "y" | undefined;
13483
- stacked?: boolean | "single" | undefined;
13484
- ticks?: chart_js_dist_types_utils._DeepPartialObject<chart_js.CartesianTickOptions> | undefined;
13485
- alignToPixels?: boolean | undefined;
13486
- suggestedMin?: unknown;
13487
- suggestedMax?: unknown;
13488
- beforeUpdate?: ((axis: chart_js.Scale) => void) | undefined;
13489
- beforeSetDimensions?: ((axis: chart_js.Scale) => void) | undefined;
13490
- afterSetDimensions?: ((axis: chart_js.Scale) => void) | undefined;
13491
- beforeDataLimits?: ((axis: chart_js.Scale) => void) | undefined;
13492
- afterDataLimits?: ((axis: chart_js.Scale) => void) | undefined;
13493
- beforeBuildTicks?: ((axis: chart_js.Scale) => void) | undefined;
13494
- afterBuildTicks?: ((axis: chart_js.Scale) => void) | undefined;
13495
- beforeTickToLabelConversion?: ((axis: chart_js.Scale) => void) | undefined;
13496
- afterTickToLabelConversion?: ((axis: chart_js.Scale) => void) | undefined;
13497
- beforeCalculateLabelRotation?: ((axis: chart_js.Scale) => void) | undefined;
13498
- afterCalculateLabelRotation?: ((axis: chart_js.Scale) => void) | undefined;
13499
- beforeFit?: ((axis: chart_js.Scale) => void) | undefined;
13500
- afterFit?: ((axis: chart_js.Scale) => void) | undefined;
13501
- afterUpdate?: ((axis: chart_js.Scale) => void) | undefined;
13502
- min?: string | number | undefined;
13503
- max?: string | number | undefined;
13504
- labels?: chart_js_dist_types_utils._DeepPartialArray<string> | chart_js_dist_types_utils._DeepPartialArray<string[]> | undefined;
13505
- } | {
13506
- grid: {
13507
- display: boolean;
13508
- };
13509
- type?: "timeseries" | undefined;
13510
- reverse?: boolean | undefined;
13511
- offset?: boolean | undefined;
13512
- backgroundColor?: string | chart_js_dist_types_utils._DeepPartialObject<CanvasGradient> | chart_js_dist_types_utils._DeepPartialObject<CanvasPattern> | undefined;
13513
- border?: chart_js_dist_types_utils._DeepPartialObject<chart_js.BorderOptions> | undefined;
13514
- clip?: boolean | undefined;
13515
- display?: boolean | "auto" | undefined;
13516
- position?: "center" | "left" | "top" | "bottom" | "right" | chart_js_dist_types_utils._DeepPartialObject<{
13517
- [scale: string]: number;
13518
- }> | undefined;
13519
- title?: chart_js_dist_types_utils._DeepPartialObject<{
13520
- display: boolean;
13521
- align: chart_js.Align;
13522
- text: string | string[];
13523
- color: chart_js.Color;
13524
- font: chart_js.ScriptableAndScriptableOptions<Partial<chart_js.FontSpec>, chart_js.ScriptableCartesianScaleContext>;
13525
- padding: number | {
13526
- top: number;
13527
- bottom: number;
13528
- y: number;
13529
- };
13530
- }> | undefined;
13531
- stack?: string | undefined;
13532
- weight?: number | undefined;
13533
- bounds?: "data" | "ticks" | undefined;
13534
- stackWeight?: number | undefined;
13535
- axis?: "r" | "x" | "y" | undefined;
13536
- stacked?: boolean | "single" | undefined;
13537
- ticks?: chart_js_dist_types_utils._DeepPartialObject<chart_js.TickOptions & {
13538
- sampleSize: number;
13539
- align: chart_js.Align | "inner";
13540
- autoSkip: boolean;
13541
- autoSkipPadding: number;
13542
- crossAlign: "near" | "center" | "far";
13543
- includeBounds: boolean;
13544
- labelOffset: number;
13545
- minRotation: number;
13546
- maxRotation: number;
13547
- mirror: boolean;
13548
- padding: number;
13549
- maxTicksLimit: number;
13550
- } & chart_js.TimeScaleTickOptions> | undefined;
13551
- alignToPixels?: boolean | undefined;
13552
- suggestedMin?: string | number | undefined;
13553
- suggestedMax?: string | number | undefined;
13554
- beforeUpdate?: ((axis: chart_js.Scale) => void) | undefined;
13555
- beforeSetDimensions?: ((axis: chart_js.Scale) => void) | undefined;
13556
- afterSetDimensions?: ((axis: chart_js.Scale) => void) | undefined;
13557
- beforeDataLimits?: ((axis: chart_js.Scale) => void) | undefined;
13558
- afterDataLimits?: ((axis: chart_js.Scale) => void) | undefined;
13559
- beforeBuildTicks?: ((axis: chart_js.Scale) => void) | undefined;
13560
- afterBuildTicks?: ((axis: chart_js.Scale) => void) | undefined;
13561
- beforeTickToLabelConversion?: ((axis: chart_js.Scale) => void) | undefined;
13562
- afterTickToLabelConversion?: ((axis: chart_js.Scale) => void) | undefined;
13563
- beforeCalculateLabelRotation?: ((axis: chart_js.Scale) => void) | undefined;
13564
- afterCalculateLabelRotation?: ((axis: chart_js.Scale) => void) | undefined;
13565
- beforeFit?: ((axis: chart_js.Scale) => void) | undefined;
13566
- afterFit?: ((axis: chart_js.Scale) => void) | undefined;
13567
- afterUpdate?: ((axis: chart_js.Scale) => void) | undefined;
13568
- min?: string | number | undefined;
13569
- max?: string | number | undefined;
13570
- offsetAfterAutoskip?: boolean | undefined;
13571
- adapters?: chart_js_dist_types_utils._DeepPartialObject<{
13572
- date: unknown;
13573
- }> | undefined;
13574
- time?: chart_js_dist_types_utils._DeepPartialObject<chart_js.TimeScaleTimeOptions> | undefined;
13575
- } | {
13576
- grid: {
13577
- display: boolean;
13578
- };
13579
- type?: "radialLinear" | undefined;
13580
- display?: boolean | "auto" | undefined;
13581
- alignToPixels?: boolean | undefined;
13582
- backgroundColor?: string | chart_js_dist_types_utils._DeepPartialObject<CanvasGradient> | chart_js_dist_types_utils._DeepPartialObject<CanvasPattern> | undefined;
13583
- reverse?: boolean | undefined;
13584
- clip?: boolean | undefined;
13585
- weight?: number | undefined;
13586
- min?: number | undefined;
13587
- max?: number | undefined;
13588
- suggestedMin?: number | undefined;
13589
- suggestedMax?: number | undefined;
13590
- beforeUpdate?: ((axis: chart_js.Scale) => void) | undefined;
13591
- beforeSetDimensions?: ((axis: chart_js.Scale) => void) | undefined;
13592
- afterSetDimensions?: ((axis: chart_js.Scale) => void) | undefined;
13593
- beforeDataLimits?: ((axis: chart_js.Scale) => void) | undefined;
13594
- afterDataLimits?: ((axis: chart_js.Scale) => void) | undefined;
13595
- beforeBuildTicks?: ((axis: chart_js.Scale) => void) | undefined;
13596
- afterBuildTicks?: ((axis: chart_js.Scale) => void) | undefined;
13597
- beforeTickToLabelConversion?: ((axis: chart_js.Scale) => void) | undefined;
13598
- afterTickToLabelConversion?: ((axis: chart_js.Scale) => void) | undefined;
13599
- beforeCalculateLabelRotation?: ((axis: chart_js.Scale) => void) | undefined;
13600
- afterCalculateLabelRotation?: ((axis: chart_js.Scale) => void) | undefined;
13601
- beforeFit?: ((axis: chart_js.Scale) => void) | undefined;
13602
- afterFit?: ((axis: chart_js.Scale) => void) | undefined;
13603
- afterUpdate?: ((axis: chart_js.Scale) => void) | undefined;
13604
- animate?: boolean | undefined;
13605
- startAngle?: number | undefined;
13606
- angleLines?: chart_js_dist_types_utils._DeepPartialObject<{
13607
- display: boolean;
13608
- color: chart_js.Scriptable<chart_js.Color, chart_js.ScriptableScaleContext>;
13609
- lineWidth: chart_js.Scriptable<number, chart_js.ScriptableScaleContext>;
13610
- borderDash: chart_js.Scriptable<number[], chart_js.ScriptableScaleContext>;
13611
- borderDashOffset: chart_js.Scriptable<number, chart_js.ScriptableScaleContext>;
13612
- }> | undefined;
13613
- beginAtZero?: boolean | undefined;
13614
- pointLabels?: chart_js_dist_types_utils._DeepPartialObject<{
13615
- backdropColor: chart_js.Scriptable<chart_js.Color, chart_js.ScriptableScalePointLabelContext>;
13616
- backdropPadding: chart_js.Scriptable<number | chart_js.ChartArea, chart_js.ScriptableScalePointLabelContext>;
13617
- borderRadius: chart_js.Scriptable<number | chart_js.BorderRadius, chart_js.ScriptableScalePointLabelContext>;
13618
- display: boolean | "auto";
13619
- color: chart_js.Scriptable<chart_js.Color, chart_js.ScriptableScalePointLabelContext>;
13620
- font: chart_js.ScriptableAndScriptableOptions<Partial<chart_js.FontSpec>, chart_js.ScriptableScalePointLabelContext>;
13621
- callback: (label: string, index: number) => string | string[] | number | number[];
13622
- padding: chart_js.Scriptable<number, chart_js.ScriptableScalePointLabelContext>;
13623
- centerPointLabels: boolean;
13624
- }> | undefined;
13625
- ticks?: chart_js_dist_types_utils._DeepPartialObject<chart_js.RadialTickOptions> | undefined;
13626
- };
13627
- };
13236
+ getLineChartScales(definition: GenericDefinition<LineChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils.DeepPartial<chart_js.ScaleChartOptions<"line">["scales"]>;
13237
+ getScatterChartScales(definition: GenericDefinition<ScatterChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils.DeepPartial<chart_js.ScaleChartOptions<"line">["scales"]>;
13628
13238
  getWaterfallChartScales(definition: WaterfallChartDefinition, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<{
13629
13239
  [key: string]: chart_js.ScaleOptionsByType<"radialLinear" | keyof chart_js.CartesianScaleTypeRegistry>;
13630
13240
  }>;