scichart-react
Version:
React wrapper for SciChart JS
19 lines • 945 B
TypeScript
import { JSX } from "react";
import { ILegendModifierOptions } from "scichart";
import { TDivProps } from "./types";
export interface ISciChartNestedLegendProps extends TDivProps {
options?: Omit<ILegendModifierOptions, "placementDivId">;
}
/**
* @experimental This is a draft version of the component. Recommended to use only as a reference.
*
* A component for placing an external placement Legend within {@link SciChartReact}.
* Adds a corresponding {@link LegendModifier} to the surface.
*
* @remarks The component is intended to be used as a child component of {@link SciChartReact}
*
* @param props {@link ISciChartNestedLegendProps} - are propagated to the underlying div element which which will be used as root for the legend
* @returns legend {@link JSX.Element}
*/
export declare const SciChartNestedLegend: (props: ISciChartNestedLegendProps) => JSX.Element | null;
//# sourceMappingURL=SciChartLegendComponent.d.ts.map