David Catuhe пре 7 година
родитељ
комит
dd2f1bf093
3 измењених фајлова са 19 додато и 0 уклоњено
  1. 17 0
      gui/src/3D/charting/dataSeries.ts
  2. 1 0
      gui/src/3D/charting/index.ts
  3. 1 0
      gui/src/3D/index.ts

+ 17 - 0
gui/src/3D/charting/dataSeries.ts

@@ -0,0 +1,17 @@
+import { Color3 } from "babylonjs";
+
+export class DataSeries {
+    /** Gets or sets the label of the series */
+    public label: string;
+
+    /** Gets or sets the color associated with the series*/
+    public color: Color3;
+
+    /** Gets or sets the list of dimensions (used to filter data) */
+    public dimensions: Array<string>;
+
+    /**
+     * Gets or sets the list of values (data to display)
+     */
+    public values: Array<string>;
+}

+ 1 - 0
gui/src/3D/charting/index.ts

@@ -0,0 +1 @@
+export * from "./dataSeries";

+ 1 - 0
gui/src/3D/index.ts

@@ -1,5 +1,6 @@
 export * from "./controls";
 export * from "./materials";
+export * from "./charting";
 
 export * from "./gui3DManager";
 export * from "./vector3WithInfo";