devextreme-react
Version:
DevExtreme React UI and Visualization Components
1,111 lines (1,109 loc) • 40.8 kB
JavaScript
/*!
* devextreme-react
* Version: 24.2.6
* Build date: Mon Mar 17 2025
*
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file in the root of the project for details.
*
* https://github.com/DevExpress/devextreme-react
*/
"use client";
import * as React from "react";
import { memo, forwardRef, useImperativeHandle, useRef, useMemo } from "react";
import dxPolarChart from "devextreme/viz/polar_chart";
import { Component as BaseComponent } from "./core/component";
import NestedOption from "./core/nested-option";
const PolarChart = memo(forwardRef((props, ref) => {
const baseRef = useRef(null);
useImperativeHandle(ref, () => ({
instance() {
return baseRef.current?.getInstance();
}
}), [baseRef.current]);
const subscribableOptions = useMemo(() => (["loadingIndicator", "loadingIndicator.show", "valueAxis", "valueAxis.visualRange"]), []);
const independentEvents = useMemo(() => (["onArgumentAxisClick", "onDisposing", "onDone", "onDrawn", "onExported", "onExporting", "onFileSaving", "onIncidentOccurred", "onInitialized", "onLegendClick", "onPointClick", "onSeriesClick", "onTooltipHidden", "onTooltipShown", "onZoomEnd", "onZoomStart"]), []);
const defaults = useMemo(() => ({
defaultLoadingIndicator: "loadingIndicator",
defaultValueAxis: "valueAxis",
}), []);
const expectedChildren = useMemo(() => ({
adaptiveLayout: { optionName: "adaptiveLayout", isCollectionItem: false },
animation: { optionName: "animation", isCollectionItem: false },
annotation: { optionName: "annotations", isCollectionItem: true },
argumentAxis: { optionName: "argumentAxis", isCollectionItem: false },
commonAnnotationSettings: { optionName: "commonAnnotationSettings", isCollectionItem: false },
commonAxisSettings: { optionName: "commonAxisSettings", isCollectionItem: false },
commonSeriesSettings: { optionName: "commonSeriesSettings", isCollectionItem: false },
dataPrepareSettings: { optionName: "dataPrepareSettings", isCollectionItem: false },
export: { optionName: "export", isCollectionItem: false },
legend: { optionName: "legend", isCollectionItem: false },
loadingIndicator: { optionName: "loadingIndicator", isCollectionItem: false },
margin: { optionName: "margin", isCollectionItem: false },
polarChartTitle: { optionName: "title", isCollectionItem: false },
series: { optionName: "series", isCollectionItem: true },
seriesTemplate: { optionName: "seriesTemplate", isCollectionItem: false },
size: { optionName: "size", isCollectionItem: false },
title: { optionName: "title", isCollectionItem: false },
tooltip: { optionName: "tooltip", isCollectionItem: false },
valueAxis: { optionName: "valueAxis", isCollectionItem: false }
}), []);
return (React.createElement((BaseComponent), {
WidgetClass: dxPolarChart,
ref: baseRef,
subscribableOptions,
independentEvents,
defaults,
expectedChildren,
...props,
}));
}));
const _componentAdaptiveLayout = (props) => {
return React.createElement((NestedOption), {
...props,
elementDescriptor: {
OptionName: "adaptiveLayout",
},
});
};
const AdaptiveLayout = Object.assign(_componentAdaptiveLayout, {
componentType: "option",
});
const _componentAnimation = (props) => {
return React.createElement((NestedOption), {
...props,
elementDescriptor: {
OptionName: "animation",
},
});
};
const Animation = Object.assign(_componentAnimation, {
componentType: "option",
});
const _componentAnnotation = (props) => {
return React.createElement((NestedOption), {
...props,
elementDescriptor: {
OptionName: "annotations",
IsCollectionItem: true,
ExpectedChildren: {
annotationBorder: { optionName: "border", isCollectionItem: false },
border: { optionName: "border", isCollectionItem: false },
font: { optionName: "font", isCollectionItem: false },
image: { optionName: "image", isCollectionItem: false },
shadow: { optionName: "shadow", isCollectionItem: false }
},
TemplateProps: [{
tmplOption: "template",
render: "render",
component: "component"
}, {
tmplOption: "tooltipTemplate",
render: "tooltipRender",
component: "tooltipComponent"
}],
},
});
};
const Annotation = Object.assign(_componentAnnotation, {
componentType: "option",
});
const _componentAnnotationBorder = (props) => {
return React.createElement((NestedOption), {
...props,
elementDescriptor: {
OptionName: "border",
},
});
};
const AnnotationBorder = Object.assign(_componentAnnotationBorder, {
componentType: "option",
});
const _componentArgumentAxis = (props) => {
return React.createElement((NestedOption), {
...props,
elementDescriptor: {
OptionName: "argumentAxis",
ExpectedChildren: {
argumentAxisMinorTick: { optionName: "minorTick", isCollectionItem: false },
argumentAxisTick: { optionName: "tick", isCollectionItem: false },
axisLabel: { optionName: "label", isCollectionItem: false },
constantLine: { optionName: "constantLines", isCollectionItem: true },
constantLineStyle: { optionName: "constantLineStyle", isCollectionItem: false },
grid: { optionName: "grid", isCollectionItem: false },
label: { optionName: "label", isCollectionItem: false },
minorGrid: { optionName: "minorGrid", isCollectionItem: false },
minorTick: { optionName: "minorTick", isCollectionItem: false },
minorTickInterval: { optionName: "minorTickInterval", isCollectionItem: false },
strip: { optionName: "strips", isCollectionItem: true },
stripStyle: { optionName: "stripStyle", isCollectionItem: false },
tick: { optionName: "tick", isCollectionItem: false },
tickInterval: { optionName: "tickInterval", isCollectionItem: false }
},
},
});
};
const ArgumentAxis = Object.assign(_componentArgumentAxis, {
componentType: "option",
});
const _componentArgumentAxisMinorTick = (props) => {
return React.createElement((NestedOption), {
...props,
elementDescriptor: {
OptionName: "minorTick",
},
});
};
const ArgumentAxisMinorTick = Object.assign(_componentArgumentAxisMinorTick, {
componentType: "option",
});
const _componentArgumentAxisTick = (props) => {
return React.createElement((NestedOption), {
...props,
elementDescriptor: {
OptionName: "tick",
},
});
};
const ArgumentAxisTick = Object.assign(_componentArgumentAxisTick, {
componentType: "option",
});
const _componentArgumentFormat = (props) => {
return React.createElement((NestedOption), {
...props,
elementDescriptor: {
OptionName: "argumentFormat",
},
});
};
const ArgumentFormat = Object.assign(_componentArgumentFormat, {
componentType: "option",
});
const _componentAxisLabel = (props) => {
return React.createElement((NestedOption), {
...props,
elementDescriptor: {
OptionName: "label",
ExpectedChildren: {
font: { optionName: "font", isCollectionItem: false },
format: { optionName: "format", isCollectionItem: false }
},
},
});
};
const AxisLabel = Object.assign(_componentAxisLabel, {
componentType: "option",
});
const _componentBorder = (props) => {
return React.createElement((NestedOption), {
...props,
elementDescriptor: {
OptionName: "border",
},
});
};
const Border = Object.assign(_componentBorder, {
componentType: "option",
});
const _componentColor = (props) => {
return React.createElement((NestedOption), {
...props,
elementDescriptor: {
OptionName: "color",
},
});
};
const Color = Object.assign(_componentColor, {
componentType: "option",
});
const _componentCommonAnnotationSettings = (props) => {
return React.createElement((NestedOption), {
...props,
elementDescriptor: {
OptionName: "commonAnnotationSettings",
ExpectedChildren: {
annotationBorder: { optionName: "border", isCollectionItem: false },
border: { optionName: "border", isCollectionItem: false },
font: { optionName: "font", isCollectionItem: false },
image: { optionName: "image", isCollectionItem: false },
shadow: { optionName: "shadow", isCollectionItem: false }
},
TemplateProps: [{
tmplOption: "template",
render: "render",
component: "component"
}, {
tmplOption: "tooltipTemplate",
render: "tooltipRender",
component: "tooltipComponent"
}],
},
});
};
const CommonAnnotationSettings = Object.assign(_componentCommonAnnotationSettings, {
componentType: "option",
});
const _componentCommonAxisSettings = (props) => {
return React.createElement((NestedOption), {
...props,
elementDescriptor: {
OptionName: "commonAxisSettings",
ExpectedChildren: {
commonAxisSettingsLabel: { optionName: "label", isCollectionItem: false },
commonAxisSettingsMinorTick: { optionName: "minorTick", isCollectionItem: false },
commonAxisSettingsTick: { optionName: "tick", isCollectionItem: false },
constantLineStyle: { optionName: "constantLineStyle", isCollectionItem: false },
grid: { optionName: "grid", isCollectionItem: false },
label: { optionName: "label", isCollectionItem: false },
minorGrid: { optionName: "minorGrid", isCollectionItem: false },
minorTick: { optionName: "minorTick", isCollectionItem: false },
stripStyle: { optionName: "stripStyle", isCollectionItem: false },
tick: { optionName: "tick", isCollectionItem: false }
},
},
});
};
const CommonAxisSettings = Object.assign(_componentCommonAxisSettings, {
componentType: "option",
});
const _componentCommonAxisSettingsLabel = (props) => {
return React.createElement((NestedOption), {
...props,
elementDescriptor: {
OptionName: "label",
ExpectedChildren: {
font: { optionName: "font", isCollectionItem: false }
},
},
});
};
const CommonAxisSettingsLabel = Object.assign(_componentCommonAxisSettingsLabel, {
componentType: "option",
});
const _componentCommonAxisSettingsMinorTick = (props) => {
return React.createElement((NestedOption), {
...props,
elementDescriptor: {
OptionName: "minorTick",
},
});
};
const CommonAxisSettingsMinorTick = Object.assign(_componentCommonAxisSettingsMinorTick, {
componentType: "option",
});
const _componentCommonAxisSettingsTick = (props) => {
return React.createElement((NestedOption), {
...props,
elementDescriptor: {
OptionName: "tick",
},
});
};
const CommonAxisSettingsTick = Object.assign(_componentCommonAxisSettingsTick, {
componentType: "option",
});
const _componentCommonSeriesSettings = (props) => {
return React.createElement((NestedOption), {
...props,
elementDescriptor: {
OptionName: "commonSeriesSettings",
ExpectedChildren: {
border: { optionName: "border", isCollectionItem: false },
color: { optionName: "color", isCollectionItem: false },
commonSeriesSettingsHoverStyle: { optionName: "hoverStyle", isCollectionItem: false },
commonSeriesSettingsLabel: { optionName: "label", isCollectionItem: false },
commonSeriesSettingsSelectionStyle: { optionName: "selectionStyle", isCollectionItem: false },
hoverStyle: { optionName: "hoverStyle", isCollectionItem: false },
label: { optionName: "label", isCollectionItem: false },
point: { optionName: "point", isCollectionItem: false },
selectionStyle: { optionName: "selectionStyle", isCollectionItem: false },
seriesBorder: { optionName: "border", isCollectionItem: false },
valueErrorBar: { optionName: "valueErrorBar", isCollectionItem: false }
},
},
});
};
const CommonSeriesSettings = Object.assign(_componentCommonSeriesSettings, {
componentType: "option",
});
const _componentCommonSeriesSettingsHoverStyle = (props) => {
return React.createElement((NestedOption), {
...props,
elementDescriptor: {
OptionName: "hoverStyle",
ExpectedChildren: {
border: { optionName: "border", isCollectionItem: false },
color: { optionName: "color", isCollectionItem: false },
hatching: { optionName: "hatching", isCollectionItem: false },
seriesBorder: { optionName: "border", isCollectionItem: false }
},
},
});
};
const CommonSeriesSettingsHoverStyle = Object.assign(_componentCommonSeriesSettingsHoverStyle, {
componentType: "option",
});
const _componentCommonSeriesSettingsLabel = (props) => {
return React.createElement((NestedOption), {
...props,
elementDescriptor: {
OptionName: "label",
ExpectedChildren: {
argumentFormat: { optionName: "argumentFormat", isCollectionItem: false },
border: { optionName: "border", isCollectionItem: false },
connector: { optionName: "connector", isCollectionItem: false },
font: { optionName: "font", isCollectionItem: false },
format: { optionName: "format", isCollectionItem: false },
seriesBorder: { optionName: "border", isCollectionItem: false }
},
},
});
};
const CommonSeriesSettingsLabel = Object.assign(_componentCommonSeriesSettingsLabel, {
componentType: "option",
});
const _componentCommonSeriesSettingsSelectionStyle = (props) => {
return React.createElement((NestedOption), {
...props,
elementDescriptor: {
OptionName: "selectionStyle",
ExpectedChildren: {
border: { optionName: "border", isCollectionItem: false },
color: { optionName: "color", isCollectionItem: false },
hatching: { optionName: "hatching", isCollectionItem: false },
seriesBorder: { optionName: "border", isCollectionItem: false }
},
},
});
};
const CommonSeriesSettingsSelectionStyle = Object.assign(_componentCommonSeriesSettingsSelectionStyle, {
componentType: "option",
});
const _componentConnector = (props) => {
return React.createElement((NestedOption), {
...props,
elementDescriptor: {
OptionName: "connector",
},
});
};
const Connector = Object.assign(_componentConnector, {
componentType: "option",
});
const _componentConstantLine = (props) => {
return React.createElement((NestedOption), {
...props,
elementDescriptor: {
OptionName: "constantLines",
IsCollectionItem: true,
ExpectedChildren: {
label: { optionName: "label", isCollectionItem: false }
},
},
});
};
const ConstantLine = Object.assign(_componentConstantLine, {
componentType: "option",
});
const _componentConstantLineLabel = (props) => {
return React.createElement((NestedOption), {
...props,
elementDescriptor: {
OptionName: "label",
ExpectedChildren: {
font: { optionName: "font", isCollectionItem: false }
},
},
});
};
const ConstantLineLabel = Object.assign(_componentConstantLineLabel, {
componentType: "option",
});
const _componentConstantLineStyle = (props) => {
return React.createElement((NestedOption), {
...props,
elementDescriptor: {
OptionName: "constantLineStyle",
ExpectedChildren: {
label: { optionName: "label", isCollectionItem: false }
},
},
});
};
const ConstantLineStyle = Object.assign(_componentConstantLineStyle, {
componentType: "option",
});
const _componentConstantLineStyleLabel = (props) => {
return React.createElement((NestedOption), {
...props,
elementDescriptor: {
OptionName: "label",
ExpectedChildren: {
font: { optionName: "font", isCollectionItem: false }
},
},
});
};
const ConstantLineStyleLabel = Object.assign(_componentConstantLineStyleLabel, {
componentType: "option",
});
const _componentDataPrepareSettings = (props) => {
return React.createElement((NestedOption), {
...props,
elementDescriptor: {
OptionName: "dataPrepareSettings",
},
});
};
const DataPrepareSettings = Object.assign(_componentDataPrepareSettings, {
componentType: "option",
});
const _componentExport = (props) => {
return React.createElement((NestedOption), {
...props,
elementDescriptor: {
OptionName: "export",
},
});
};
const Export = Object.assign(_componentExport, {
componentType: "option",
});
const _componentFont = (props) => {
return React.createElement((NestedOption), {
...props,
elementDescriptor: {
OptionName: "font",
},
});
};
const Font = Object.assign(_componentFont, {
componentType: "option",
});
const _componentFormat = (props) => {
return React.createElement((NestedOption), {
...props,
elementDescriptor: {
OptionName: "format",
},
});
};
const Format = Object.assign(_componentFormat, {
componentType: "option",
});
const _componentGrid = (props) => {
return React.createElement((NestedOption), {
...props,
elementDescriptor: {
OptionName: "grid",
},
});
};
const Grid = Object.assign(_componentGrid, {
componentType: "option",
});
const _componentHatching = (props) => {
return React.createElement((NestedOption), {
...props,
elementDescriptor: {
OptionName: "hatching",
},
});
};
const Hatching = Object.assign(_componentHatching, {
componentType: "option",
});
const _componentHoverStyle = (props) => {
return React.createElement((NestedOption), {
...props,
elementDescriptor: {
OptionName: "hoverStyle",
ExpectedChildren: {
border: { optionName: "border", isCollectionItem: false },
color: { optionName: "color", isCollectionItem: false },
hatching: { optionName: "hatching", isCollectionItem: false },
pointBorder: { optionName: "border", isCollectionItem: false },
seriesBorder: { optionName: "border", isCollectionItem: false }
},
},
});
};
const HoverStyle = Object.assign(_componentHoverStyle, {
componentType: "option",
});
const _componentImage = (props) => {
return React.createElement((NestedOption), {
...props,
elementDescriptor: {
OptionName: "image",
},
});
};
const Image = Object.assign(_componentImage, {
componentType: "option",
});
const _componentLabel = (props) => {
return React.createElement((NestedOption), {
...props,
elementDescriptor: {
OptionName: "label",
ExpectedChildren: {
argumentFormat: { optionName: "argumentFormat", isCollectionItem: false },
border: { optionName: "border", isCollectionItem: false },
connector: { optionName: "connector", isCollectionItem: false },
font: { optionName: "font", isCollectionItem: false },
format: { optionName: "format", isCollectionItem: false },
seriesBorder: { optionName: "border", isCollectionItem: false }
},
},
});
};
const Label = Object.assign(_componentLabel, {
componentType: "option",
});
const _componentLegend = (props) => {
return React.createElement((NestedOption), {
...props,
elementDescriptor: {
OptionName: "legend",
ExpectedChildren: {
annotationBorder: { optionName: "border", isCollectionItem: false },
border: { optionName: "border", isCollectionItem: false },
font: { optionName: "font", isCollectionItem: false },
legendTitle: { optionName: "title", isCollectionItem: false },
margin: { optionName: "margin", isCollectionItem: false },
title: { optionName: "title", isCollectionItem: false }
},
TemplateProps: [{
tmplOption: "markerTemplate",
render: "markerRender",
component: "markerComponent"
}],
},
});
};
const Legend = Object.assign(_componentLegend, {
componentType: "option",
});
const _componentLegendTitle = (props) => {
return React.createElement((NestedOption), {
...props,
elementDescriptor: {
OptionName: "title",
ExpectedChildren: {
font: { optionName: "font", isCollectionItem: false },
legendTitleSubtitle: { optionName: "subtitle", isCollectionItem: false },
margin: { optionName: "margin", isCollectionItem: false },
subtitle: { optionName: "subtitle", isCollectionItem: false }
},
},
});
};
const LegendTitle = Object.assign(_componentLegendTitle, {
componentType: "option",
});
const _componentLegendTitleSubtitle = (props) => {
return React.createElement((NestedOption), {
...props,
elementDescriptor: {
OptionName: "subtitle",
ExpectedChildren: {
font: { optionName: "font", isCollectionItem: false }
},
},
});
};
const LegendTitleSubtitle = Object.assign(_componentLegendTitleSubtitle, {
componentType: "option",
});
const _componentLength = (props) => {
return React.createElement((NestedOption), {
...props,
elementDescriptor: {
OptionName: "length",
},
});
};
const Length = Object.assign(_componentLength, {
componentType: "option",
});
const _componentLoadingIndicator = (props) => {
return React.createElement((NestedOption), {
...props,
elementDescriptor: {
OptionName: "loadingIndicator",
DefaultsProps: {
defaultShow: "show"
},
ExpectedChildren: {
font: { optionName: "font", isCollectionItem: false }
},
},
});
};
const LoadingIndicator = Object.assign(_componentLoadingIndicator, {
componentType: "option",
});
const _componentMargin = (props) => {
return React.createElement((NestedOption), {
...props,
elementDescriptor: {
OptionName: "margin",
},
});
};
const Margin = Object.assign(_componentMargin, {
componentType: "option",
});
const _componentMinorGrid = (props) => {
return React.createElement((NestedOption), {
...props,
elementDescriptor: {
OptionName: "minorGrid",
},
});
};
const MinorGrid = Object.assign(_componentMinorGrid, {
componentType: "option",
});
const _componentMinorTick = (props) => {
return React.createElement((NestedOption), {
...props,
elementDescriptor: {
OptionName: "minorTick",
},
});
};
const MinorTick = Object.assign(_componentMinorTick, {
componentType: "option",
});
const _componentMinorTickInterval = (props) => {
return React.createElement((NestedOption), {
...props,
elementDescriptor: {
OptionName: "minorTickInterval",
},
});
};
const MinorTickInterval = Object.assign(_componentMinorTickInterval, {
componentType: "option",
});
const _componentMinVisualRangeLength = (props) => {
return React.createElement((NestedOption), {
...props,
elementDescriptor: {
OptionName: "minVisualRangeLength",
},
});
};
const MinVisualRangeLength = Object.assign(_componentMinVisualRangeLength, {
componentType: "option",
});
const _componentPoint = (props) => {
return React.createElement((NestedOption), {
...props,
elementDescriptor: {
OptionName: "point",
ExpectedChildren: {
border: { optionName: "border", isCollectionItem: false },
color: { optionName: "color", isCollectionItem: false },
hoverStyle: { optionName: "hoverStyle", isCollectionItem: false },
image: { optionName: "image", isCollectionItem: false },
selectionStyle: { optionName: "selectionStyle", isCollectionItem: false }
},
},
});
};
const Point = Object.assign(_componentPoint, {
componentType: "option",
});
const _componentPointBorder = (props) => {
return React.createElement((NestedOption), {
...props,
elementDescriptor: {
OptionName: "border",
},
});
};
const PointBorder = Object.assign(_componentPointBorder, {
componentType: "option",
});
const _componentPointHoverStyle = (props) => {
return React.createElement((NestedOption), {
...props,
elementDescriptor: {
OptionName: "hoverStyle",
ExpectedChildren: {
border: { optionName: "border", isCollectionItem: false },
color: { optionName: "color", isCollectionItem: false },
pointBorder: { optionName: "border", isCollectionItem: false }
},
},
});
};
const PointHoverStyle = Object.assign(_componentPointHoverStyle, {
componentType: "option",
});
const _componentPointSelectionStyle = (props) => {
return React.createElement((NestedOption), {
...props,
elementDescriptor: {
OptionName: "selectionStyle",
ExpectedChildren: {
border: { optionName: "border", isCollectionItem: false },
color: { optionName: "color", isCollectionItem: false },
pointBorder: { optionName: "border", isCollectionItem: false }
},
},
});
};
const PointSelectionStyle = Object.assign(_componentPointSelectionStyle, {
componentType: "option",
});
const _componentPolarChartTitle = (props) => {
return React.createElement((NestedOption), {
...props,
elementDescriptor: {
OptionName: "title",
ExpectedChildren: {
font: { optionName: "font", isCollectionItem: false },
margin: { optionName: "margin", isCollectionItem: false },
polarChartTitleSubtitle: { optionName: "subtitle", isCollectionItem: false },
subtitle: { optionName: "subtitle", isCollectionItem: false }
},
},
});
};
const PolarChartTitle = Object.assign(_componentPolarChartTitle, {
componentType: "option",
});
const _componentPolarChartTitleSubtitle = (props) => {
return React.createElement((NestedOption), {
...props,
elementDescriptor: {
OptionName: "subtitle",
ExpectedChildren: {
font: { optionName: "font", isCollectionItem: false }
},
},
});
};
const PolarChartTitleSubtitle = Object.assign(_componentPolarChartTitleSubtitle, {
componentType: "option",
});
const _componentSelectionStyle = (props) => {
return React.createElement((NestedOption), {
...props,
elementDescriptor: {
OptionName: "selectionStyle",
ExpectedChildren: {
border: { optionName: "border", isCollectionItem: false },
color: { optionName: "color", isCollectionItem: false },
hatching: { optionName: "hatching", isCollectionItem: false },
pointBorder: { optionName: "border", isCollectionItem: false },
seriesBorder: { optionName: "border", isCollectionItem: false }
},
},
});
};
const SelectionStyle = Object.assign(_componentSelectionStyle, {
componentType: "option",
});
const _componentSeries = (props) => {
return React.createElement((NestedOption), {
...props,
elementDescriptor: {
OptionName: "series",
IsCollectionItem: true,
ExpectedChildren: {
border: { optionName: "border", isCollectionItem: false },
color: { optionName: "color", isCollectionItem: false },
commonSeriesSettingsHoverStyle: { optionName: "hoverStyle", isCollectionItem: false },
commonSeriesSettingsLabel: { optionName: "label", isCollectionItem: false },
commonSeriesSettingsSelectionStyle: { optionName: "selectionStyle", isCollectionItem: false },
hoverStyle: { optionName: "hoverStyle", isCollectionItem: false },
label: { optionName: "label", isCollectionItem: false },
point: { optionName: "point", isCollectionItem: false },
selectionStyle: { optionName: "selectionStyle", isCollectionItem: false },
seriesBorder: { optionName: "border", isCollectionItem: false },
valueErrorBar: { optionName: "valueErrorBar", isCollectionItem: false }
},
},
});
};
const Series = Object.assign(_componentSeries, {
componentType: "option",
});
const _componentSeriesBorder = (props) => {
return React.createElement((NestedOption), {
...props,
elementDescriptor: {
OptionName: "border",
},
});
};
const SeriesBorder = Object.assign(_componentSeriesBorder, {
componentType: "option",
});
const _componentSeriesTemplate = (props) => {
return React.createElement((NestedOption), {
...props,
elementDescriptor: {
OptionName: "seriesTemplate",
},
});
};
const SeriesTemplate = Object.assign(_componentSeriesTemplate, {
componentType: "option",
});
const _componentShadow = (props) => {
return React.createElement((NestedOption), {
...props,
elementDescriptor: {
OptionName: "shadow",
},
});
};
const Shadow = Object.assign(_componentShadow, {
componentType: "option",
});
const _componentSize = (props) => {
return React.createElement((NestedOption), {
...props,
elementDescriptor: {
OptionName: "size",
},
});
};
const Size = Object.assign(_componentSize, {
componentType: "option",
});
const _componentStrip = (props) => {
return React.createElement((NestedOption), {
...props,
elementDescriptor: {
OptionName: "strips",
IsCollectionItem: true,
ExpectedChildren: {
label: { optionName: "label", isCollectionItem: false }
},
},
});
};
const Strip = Object.assign(_componentStrip, {
componentType: "option",
});
const _componentStripLabel = (props) => {
return React.createElement((NestedOption), {
...props,
elementDescriptor: {
OptionName: "label",
ExpectedChildren: {
font: { optionName: "font", isCollectionItem: false }
},
},
});
};
const StripLabel = Object.assign(_componentStripLabel, {
componentType: "option",
});
const _componentStripStyle = (props) => {
return React.createElement((NestedOption), {
...props,
elementDescriptor: {
OptionName: "stripStyle",
ExpectedChildren: {
label: { optionName: "label", isCollectionItem: false }
},
},
});
};
const StripStyle = Object.assign(_componentStripStyle, {
componentType: "option",
});
const _componentStripStyleLabel = (props) => {
return React.createElement((NestedOption), {
...props,
elementDescriptor: {
OptionName: "label",
ExpectedChildren: {
font: { optionName: "font", isCollectionItem: false }
},
},
});
};
const StripStyleLabel = Object.assign(_componentStripStyleLabel, {
componentType: "option",
});
const _componentSubtitle = (props) => {
return React.createElement((NestedOption), {
...props,
elementDescriptor: {
OptionName: "subtitle",
ExpectedChildren: {
font: { optionName: "font", isCollectionItem: false }
},
},
});
};
const Subtitle = Object.assign(_componentSubtitle, {
componentType: "option",
});
const _componentTick = (props) => {
return React.createElement((NestedOption), {
...props,
elementDescriptor: {
OptionName: "tick",
},
});
};
const Tick = Object.assign(_componentTick, {
componentType: "option",
});
const _componentTickInterval = (props) => {
return React.createElement((NestedOption), {
...props,
elementDescriptor: {
OptionName: "tickInterval",
},
});
};
const TickInterval = Object.assign(_componentTickInterval, {
componentType: "option",
});
const _componentTitle = (props) => {
return React.createElement((NestedOption), {
...props,
elementDescriptor: {
OptionName: "title",
ExpectedChildren: {
font: { optionName: "font", isCollectionItem: false },
legendTitleSubtitle: { optionName: "subtitle", isCollectionItem: false },
margin: { optionName: "margin", isCollectionItem: false },
polarChartTitleSubtitle: { optionName: "subtitle", isCollectionItem: false }
},
},
});
};
const Title = Object.assign(_componentTitle, {
componentType: "option",
});
const _componentTooltip = (props) => {
return React.createElement((NestedOption), {
...props,
elementDescriptor: {
OptionName: "tooltip",
ExpectedChildren: {
argumentFormat: { optionName: "argumentFormat", isCollectionItem: false },
border: { optionName: "border", isCollectionItem: false },
font: { optionName: "font", isCollectionItem: false },
format: { optionName: "format", isCollectionItem: false },
shadow: { optionName: "shadow", isCollectionItem: false },
tooltipBorder: { optionName: "border", isCollectionItem: false }
},
TemplateProps: [{
tmplOption: "contentTemplate",
render: "contentRender",
component: "contentComponent"
}],
},
});
};
const Tooltip = Object.assign(_componentTooltip, {
componentType: "option",
});
const _componentTooltipBorder = (props) => {
return React.createElement((NestedOption), {
...props,
elementDescriptor: {
OptionName: "border",
},
});
};
const TooltipBorder = Object.assign(_componentTooltipBorder, {
componentType: "option",
});
const _componentValueAxis = (props) => {
return React.createElement((NestedOption), {
...props,
elementDescriptor: {
OptionName: "valueAxis",
DefaultsProps: {
defaultVisualRange: "visualRange"
},
ExpectedChildren: {
axisLabel: { optionName: "label", isCollectionItem: false },
commonAxisSettingsMinorTick: { optionName: "minorTick", isCollectionItem: false },
commonAxisSettingsTick: { optionName: "tick", isCollectionItem: false },
constantLine: { optionName: "constantLines", isCollectionItem: true },
constantLineStyle: { optionName: "constantLineStyle", isCollectionItem: false },
grid: { optionName: "grid", isCollectionItem: false },
label: { optionName: "label", isCollectionItem: false },
minorGrid: { optionName: "minorGrid", isCollectionItem: false },
minorTick: { optionName: "minorTick", isCollectionItem: false },
minorTickInterval: { optionName: "minorTickInterval", isCollectionItem: false },
minVisualRangeLength: { optionName: "minVisualRangeLength", isCollectionItem: false },
strip: { optionName: "strips", isCollectionItem: true },
stripStyle: { optionName: "stripStyle", isCollectionItem: false },
tick: { optionName: "tick", isCollectionItem: false },
tickInterval: { optionName: "tickInterval", isCollectionItem: false },
visualRange: { optionName: "visualRange", isCollectionItem: false },
wholeRange: { optionName: "wholeRange", isCollectionItem: false }
},
},
});
};
const ValueAxis = Object.assign(_componentValueAxis, {
componentType: "option",
});
const _componentValueErrorBar = (props) => {
return React.createElement((NestedOption), {
...props,
elementDescriptor: {
OptionName: "valueErrorBar",
},
});
};
const ValueErrorBar = Object.assign(_componentValueErrorBar, {
componentType: "option",
});
const _componentVisualRange = (props) => {
return React.createElement((NestedOption), {
...props,
elementDescriptor: {
OptionName: "visualRange",
DefaultsProps: {
defaultEndValue: "endValue",
defaultStartValue: "startValue"
},
ExpectedChildren: {
length: { optionName: "length", isCollectionItem: false }
},
},
});
};
const VisualRange = Object.assign(_componentVisualRange, {
componentType: "option",
});
const _componentWholeRange = (props) => {
return React.createElement((NestedOption), {
...props,
elementDescriptor: {
OptionName: "wholeRange",
DefaultsProps: {
defaultEndValue: "endValue",
defaultStartValue: "startValue"
},
ExpectedChildren: {
length: { optionName: "length", isCollectionItem: false }
},
},
});
};
const WholeRange = Object.assign(_componentWholeRange, {
componentType: "option",
});
export default PolarChart;
export { PolarChart, AdaptiveLayout, Animation, Annotation, AnnotationBorder, ArgumentAxis, ArgumentAxisMinorTick, ArgumentAxisTick, ArgumentFormat, AxisLabel, Border, Color, CommonAnnotationSettings, CommonAxisSettings, CommonAxisSettingsLabel, CommonAxisSettingsMinorTick, CommonAxisSettingsTick, CommonSeriesSettings, CommonSeriesSettingsHoverStyle, CommonSeriesSettingsLabel, CommonSeriesSettingsSelectionStyle, Connector, ConstantLine, ConstantLineLabel, ConstantLineStyle, ConstantLineStyleLabel, DataPrepareSettings, Export, Font, Format, Grid, Hatching, HoverStyle, Image, Label, Legend, LegendTitle, LegendTitleSubtitle, Length, LoadingIndicator, Margin, MinorGrid, MinorTick, MinorTickInterval, MinVisualRangeLength, Point, PointBorder, PointHoverStyle, PointSelectionStyle, PolarChartTitle, PolarChartTitleSubtitle, SelectionStyle, Series, SeriesBorder, SeriesTemplate, Shadow, Size, Strip, StripLabel, StripStyle, StripStyleLabel, Subtitle, Tick, TickInterval, Title, Tooltip, TooltipBorder, ValueAxis, ValueErrorBar, VisualRange, WholeRange };