@reside-ic/skadi-chart 1.1.6 → 1.1.7

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.
@@ -275,16 +275,17 @@ declare module "Chart" {
275
275
  import { LifecycleHooks, OptionalLayer } from "layers/Layer";
276
276
  export type ChartOptions = {
277
277
  logScale: XY<boolean>;
278
+ categoricalScalePaddingInner: XY<number>;
278
279
  };
279
280
  type PartialChartOptions = {
280
281
  logScale?: Partial<XY<boolean>>;
281
282
  animationDuration?: number;
283
+ categoricalScalePaddingInner?: Partial<XY<number>>;
282
284
  tickConfig?: {
283
285
  numerical?: Partial<XY<Partial<TickConfig<number>>>>;
284
286
  categorical?: Partial<XY<Partial<TickConfig<string>>>>;
285
287
  };
286
288
  };
287
- type CategoricalScales = Partial<XY<string[]>>;
288
289
  export class Chart<Metadata = any> {
289
290
  id: string;
290
291
  optionalLayers: AllOptionalLayers[];
@@ -322,7 +323,7 @@ declare module "Chart" {
322
323
  private processScales;
323
324
  private appendClipPath;
324
325
  private draw;
325
- appendTo: (baseElement: HTMLDivElement, maxExtents?: PartialScales, initialExtents?: PartialScales, categoricalScales?: CategoricalScales, margins?: Partial<Bounds["margin"]>, clipPathBoundsOptions?: ClipPathBounds) => this;
326
+ appendTo: (baseElement: HTMLDivElement, maxExtents?: PartialScales, initialExtents?: PartialScales, categoricalDomains?: Partial<XY<string[]>>, margins?: Partial<Bounds["margin"]>, clipPathBoundsOptions?: ClipPathBounds) => this;
326
327
  private createCategoricalScale;
327
328
  }
328
329
  }