UNPKG

igniteui-react-charts

Version:

Ignite UI React charting components for building rich data visualizations using TypeScript APIs.

54 lines (53 loc) 2.12 kB
/* THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE: https://www.infragistics.com/legal/license/igultimate-la https://www.infragistics.com/legal/license/igultimate-eula GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company. */ import { Base, markType } from "igniteui-react-core"; import { List$1 } from "igniteui-react-core"; import { PieChartMockDataItem } from "./PieChartMockDataItem"; /** * @hidden */ export let PieChartMockDataGenerator = /*@__PURE__*/ (() => { class PieChartMockDataGenerator extends Base { static a() { let a = new List$1(PieChartMockDataItem.$, 0); a.add(((() => { let $ret = new PieChartMockDataItem(); $ret.Label = "Item A"; $ret.Value = 10; return $ret; })())); a.add(((() => { let $ret = new PieChartMockDataItem(); $ret.Label = "Item B"; $ret.Value = 4; return $ret; })())); a.add(((() => { let $ret = new PieChartMockDataItem(); $ret.Label = "Item C"; $ret.Value = 15; return $ret; })())); a.add(((() => { let $ret = new PieChartMockDataItem(); $ret.Label = "Item D"; $ret.Value = 7; return $ret; })())); a.add(((() => { let $ret = new PieChartMockDataItem(); $ret.Label = "Item E"; $ret.Value = 5; return $ret; })())); let arr_ = a.toArray(); return arr_; } } PieChartMockDataGenerator.$t = /*@__PURE__*/ markType(PieChartMockDataGenerator, 'PieChartMockDataGenerator'); return PieChartMockDataGenerator; })();