/** @jsxImportSource react */ import { BoundedObject, BoundedObjectConfig, BoundedObjectInstance } from "../svg/BoundedObject"; import { RenderingContext, CxChild } from "../ui/RenderingContext"; import type { ChartRenderingContext } from "./Chart"; export interface GridlinesConfig extends BoundedObjectConfig { /** * Name of the horizontal axis. The value should match one of the horizontal axes set * in the `axes` configuration of the parent `Chart` component. Default value is `x`. * Set to `false` to hide the grid lines in x direction. */ xAxis?: string | boolean; /** * Name of the vertical axis. The value should match one of the vertical axes set * in the `axes` configuration if the parent `Chart` component. Default value is `y`. * Set to `false` to hide the grid lines in y direction. */ yAxis?: string | boolean; /** Base CSS class to be applied to the element. Defaults to `gridlines`. */ baseClass?: string; } export interface GridlinesInstance extends BoundedObjectInstance { xAxis?: any; yAxis?: any; } export declare class Gridlines extends BoundedObject { xAxis: string; yAxis: string; anchors: string; baseClass: string; constructor(config?: GridlinesConfig); explore(context: ChartRenderingContext, instance: GridlinesInstance): void; prepare(context: ChartRenderingContext, instance: GridlinesInstance): void; render(context: RenderingContext, instance: GridlinesInstance, key: string): CxChild; } //# sourceMappingURL=Gridlines.d.ts.map