export default class State { constructor() { return { width: 0, width2: 0, height: 0, height2: 0, margin: { top: 0, bottom: 0, left: 0, right: 0 }, margin2: { top: 0, bottom: 0, left: 0, right: 0 }, margin3: { top: 0, bottom: 0, left: 0, right: 0 }, arcWidth: 0, arcHeight: 0, xAxisHeight: 0,
hasAxis: false, hasRadar: false,
current: { width: 0, height: 0, dataMax: 0,
maxTickWidths: { x: {size: 0, ticks: <number[]> [], clipPath: 0, domain: ""}, y: {size: 0, domain: ""}, y2: {size: 0, domain: ""} },
types: <string[]> [], },
isLegendRight: false, isLegendInset: false, isLegendTop: false, isLegendLeft: false, legendStep: 0, legendItemWidth: 0, legendItemHeight: 0, legendHasRendered: false,
eventReceiver: { currentIdx: -1, rect: {}, data: [], coords: [] },
axis: { x: { padding: {left: 0, right: 0}, tickCount: 0 } },
rotatedPadding: { left: 30, right: 0, top: 5 },
withoutFadeIn: {}, inputType: "",
datetimeId: "",
clip: { id: "", idXAxis: "", idYAxis: "", idXAxisTickTexts: "", idGrid: "", idSubchart: "", path: "", pathXAxis: "", pathYAxis: "", pathXAxisTickTexts: "", pathGrid: "" },
event: null, dragStart: null, dragging: false, flowing: false, cancelClick: false, mouseover: false, rendered: false, transiting: false, redrawing: false, resizing: false, toggling: false, zooming: false, hasNegativeValue: false, hasPositiveValue: true,
orgAreaOpacity: "0.2",
hiddenTargetIds: <string[]> [], hiddenLegendIds: <string[]> [], focusedTargetIds: <string[]> [], defocusedTargetIds: <string[]> [],
radius: 0, innerRadius: <{[key: string]: number}|number> 0, outerRadius: <{[key: string]: number}|number|undefined> undefined, innerRadiusRatio: 0, gaugeArcWidth: 0, radiusExpanded: 0,
xgridAttr: { x1: <number | null> null, x2: <number | null> null, y1: <number | null> null, y2: <number | null> null } }; }}