UNPKG

@netdata/charts

Version:

Netdata frontend SDK and chart utilities

24 lines 863 B
import React from "react"; import { Flex } from "@netdata/netdata-ui"; import ChartType from "./chartType"; import ChartElements from "../chartElements"; import ValueRange from "../valueRange"; import NumberFormat from "../numberFormat"; import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime"; var DisplayBody = function DisplayBody() { return /*#__PURE__*/_jsxs(Flex, { column: true, gap: 3, padding: [3], width: { min: "260px" }, children: [/*#__PURE__*/_jsx(ChartType, {}), /*#__PURE__*/_jsx(ChartElements, {}), /*#__PURE__*/_jsx(ValueRange, {}), /*#__PURE__*/_jsx(NumberFormat, {})] }); }; export default { id: "display", label: "Display", Component: DisplayBody, resetKeys: ["chartType", "chartLibrary", "enabledYAxis", "enabledXAxis", "legend", "staticValueRange", "desiredUnits", "staticFractionDigits"] };