@datosgeo-atdt/core-ui 0.1.2 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,10 +1,32 @@
1
1
  export interface SeriesKey {
2
+ /** Propiedad del objeto con la que se construirá la data */
2
3
  key: string;
4
+ /** Propiedad con la que sealizará el mapeo respecto al eje x */
3
5
  map: string;
6
+ /** Nombre que se mostrará en tooltip/labels (opcional) */
4
7
  name?: string;
8
+ /**color de los textos/label*/
5
9
  color?: string;
6
- bgColor?: string;
10
+ /** Color de relleno */
11
+ bgColor: string;
12
+ /** Invierte el símbolo de los valores, +/- */
7
13
  invert?: boolean;
14
+ /** Cuándo eje y secundario está activo, asigna el eje al que se relaciona (0,1) */
8
15
  yAxisIndex?: number;
16
+ /** Información para el label en gráfica */
17
+ label?: labelInterface;
9
18
  }
19
+ interface labelInterface {
20
+ /** Si está desactivado, no se muestra */
21
+ show: boolean;
22
+ /** Posición del label */
23
+ position?: string;
24
+ /** Tamaño de letra */
25
+ fontSize?: number;
26
+ /** Grosor de letra */
27
+ fontWeight?: number | string;
28
+ /** Número de decimales que se mostrarán */
29
+ decimals?: number;
30
+ }
31
+ export {};
10
32
  //# sourceMappingURL=chart.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"chart.d.ts","sourceRoot":"","sources":["../../src/types/chart.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,SAAS;IAExB,GAAG,EAAE,MAAM,CAAC;IAEZ,GAAG,EAAE,MAAM,CAAC;IAEZ,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,MAAM,CAAC,EAAE,OAAO,CAAC;IAEjB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB"}
1
+ {"version":3,"file":"chart.d.ts","sourceRoot":"","sources":["../../src/types/chart.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,SAAS;IACzB,4DAA4D;IAC3D,GAAG,EAAE,MAAM,CAAC;IACb,gEAAgE;IAC/D,GAAG,EAAE,MAAM,CAAC;IACb,0DAA0D;IACzD,IAAI,CAAC,EAAE,MAAM,CAAC;IACf,8BAA8B;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAC;IAChB,uBAAuB;IACtB,OAAO,EAAE,MAAM,CAAC;IACjB,8CAA8C;IAC7C,MAAM,CAAC,EAAE,OAAO,CAAC;IAClB,mFAAmF;IAClF,UAAU,CAAC,EAAE,MAAM,CAAC;IACrB,2CAA2C;IAC1C,KAAK,CAAC,EAAE,cAAc,CAAC;CACxB;AACD,UAAU,cAAc;IACrB,yCAAyC;IAC1C,IAAI,EAAE,OAAO,CAAC;IACf,yBAAyB;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IACnB,uBAAuB;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC;IACnB,sBAAsB;IACrB,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC9B,2CAA2C;IAC1C,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB"}
package/package.json CHANGED
@@ -23,7 +23,7 @@
23
23
  "publishConfig": {
24
24
  "access": "public"
25
25
  },
26
- "version": "0.1.2",
26
+ "version": "0.2.0",
27
27
  "type": "module",
28
28
  "scripts": {
29
29
  "dev": "vite",