@kanunilabs/pivotgrid-react-enterprise
@kanunilabs/pivotgrid-react-enterprise / ChartWindowProps
Interface: ChartWindowProps
Properties
children
children:
ReactNode
The chart. ChartFactory fills the window's body.
className?
optionalclassName?:string
defaultRect?
optionaldefaultRect?:FrameRect
Where it opens: px, relative to the parent, top-left corner first. Without it the window opens centred, 640 × 380 or as much of that as fits. Read once; after that the window is the user's to move.
labels?
optionallabels?:Partial<ChartWindowLabels>
Accessible names, English by default.
onClose?
optionalonClose?: () =>void
Shows a close button in the title bar.
Returns
void
onRectChange?
optionalonRectChange?: (rect) =>void
Each finished move or resize — keep it to open the window there next time.
Parameters
rect
Returns
void
title?
optionaltitle?:ReactNode
Caption in the title bar.
toolbar?
optionaltoolbar?:ReactNode
Extra controls in the title bar, after the title: a type picker, export buttons…