@esfaenza/es-charts 11.2.24 → 11.2.25
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.
- package/bundles/esfaenza-es-charts.umd.js +31 -1
- package/bundles/esfaenza-es-charts.umd.js.map +1 -1
- package/bundles/esfaenza-es-charts.umd.min.js +1 -1
- package/bundles/esfaenza-es-charts.umd.min.js.map +1 -1
- package/esfaenza-es-charts.metadata.json +1 -1
- package/esm2015/lib/components/base/base-chart.component.js +10 -1
- package/esm2015/lib/services/AreaChartService.js +4 -1
- package/esm2015/lib/services/LineChartService.js +8 -2
- package/esm2015/lib/services/PieChartService.js +4 -1
- package/esm2015/lib/services/Vertical2DChartService.js +4 -1
- package/esm2015/lib/services/VerticalChartService.js +4 -1
- package/esm2015/lib/services/VerticalStackedChartService.js +4 -1
- package/esm2015/lib/services/base/IBaseService.js +1 -1
- package/fesm2015/esfaenza-es-charts.js +31 -1
- package/fesm2015/esfaenza-es-charts.js.map +1 -1
- package/lib/components/base/base-chart.component.d.ts +7 -0
- package/lib/services/AreaChartService.d.ts +2 -0
- package/lib/services/LineChartService.d.ts +4 -0
- package/lib/services/PieChartService.d.ts +2 -0
- package/lib/services/Vertical2DChartService.d.ts +2 -0
- package/lib/services/VerticalChartService.d.ts +2 -0
- package/lib/services/VerticalStackedChartService.d.ts +2 -0
- package/lib/services/base/IBaseService.d.ts +7 -0
- package/package.json +1 -1
|
@@ -1482,6 +1482,15 @@
|
|
|
1482
1482
|
if (this.logs)
|
|
1483
1483
|
console.log("@esfaenza/es-charts: " + log);
|
|
1484
1484
|
};
|
|
1485
|
+
/**
|
|
1486
|
+
* Imposta lo zoom dal **from** al **to**
|
|
1487
|
+
*
|
|
1488
|
+
* @param {Date} from Inizio dello zoom
|
|
1489
|
+
* @param {Date} to Fine dello zoom
|
|
1490
|
+
*/
|
|
1491
|
+
BaseChartComponent.prototype.setSelection = function (from, to) {
|
|
1492
|
+
this.ChartService.setSelection(from, to);
|
|
1493
|
+
};
|
|
1485
1494
|
/**
|
|
1486
1495
|
* @ignore
|
|
1487
1496
|
*/
|
|
@@ -1610,7 +1619,9 @@
|
|
|
1610
1619
|
range.grid.strokeOpacity = 1;
|
|
1611
1620
|
}
|
|
1612
1621
|
}
|
|
1613
|
-
|
|
1622
|
+
// Per comatibilità col codice scritto quando non era a livello globale, mi scoccia sostituire
|
|
1623
|
+
var dateAxis = this.dateAxis;
|
|
1624
|
+
dateAxis = ChartInstanceCasted.xAxes.push(new am4charts__namespace.DateAxis());
|
|
1614
1625
|
if (settings.XAxisTitle) {
|
|
1615
1626
|
dateAxis.title.text = settings.XAxisTitle;
|
|
1616
1627
|
dateAxis.title.fontWeight = "bold";
|
|
@@ -1781,6 +1792,10 @@
|
|
|
1781
1792
|
return this;
|
|
1782
1793
|
};
|
|
1783
1794
|
/** @ignore */
|
|
1795
|
+
LineChartService.prototype.setSelection = function (from, to) {
|
|
1796
|
+
this.dateAxis.zoomToDates(from, to, true, true);
|
|
1797
|
+
};
|
|
1798
|
+
/** @ignore */
|
|
1784
1799
|
LineChartService.prototype.refreshData = function (data) {
|
|
1785
1800
|
var dataConverted = this.Adapter ? this.Adapter.adaptDataForLineChart(data) : data;
|
|
1786
1801
|
if (this.singleDataSet) {
|
|
@@ -1975,6 +1990,9 @@
|
|
|
1975
1990
|
return this;
|
|
1976
1991
|
};
|
|
1977
1992
|
/** @ignore */
|
|
1993
|
+
PieChartService.prototype.setSelection = function (from, to) {
|
|
1994
|
+
};
|
|
1995
|
+
/** @ignore */
|
|
1978
1996
|
PieChartService.prototype.refreshData = function (data) {
|
|
1979
1997
|
//TODO:IMPL
|
|
1980
1998
|
};
|
|
@@ -2087,6 +2105,9 @@
|
|
|
2087
2105
|
return this;
|
|
2088
2106
|
};
|
|
2089
2107
|
/** @ignore */
|
|
2108
|
+
VerticalChartService.prototype.setSelection = function (from, to) {
|
|
2109
|
+
};
|
|
2110
|
+
/** @ignore */
|
|
2090
2111
|
VerticalChartService.prototype.refreshData = function (data) {
|
|
2091
2112
|
//TODO:IMPL
|
|
2092
2113
|
};
|
|
@@ -2202,6 +2223,9 @@
|
|
|
2202
2223
|
return this;
|
|
2203
2224
|
};
|
|
2204
2225
|
/** @ignore */
|
|
2226
|
+
Vertical2DChartService.prototype.setSelection = function (from, to) {
|
|
2227
|
+
};
|
|
2228
|
+
/** @ignore */
|
|
2205
2229
|
Vertical2DChartService.prototype.refreshData = function (data) {
|
|
2206
2230
|
//TODO:IMPL
|
|
2207
2231
|
};
|
|
@@ -2362,6 +2386,9 @@
|
|
|
2362
2386
|
return this;
|
|
2363
2387
|
};
|
|
2364
2388
|
/** @ignore */
|
|
2389
|
+
VerticalStackedChartService.prototype.setSelection = function (from, to) {
|
|
2390
|
+
};
|
|
2391
|
+
/** @ignore */
|
|
2365
2392
|
VerticalStackedChartService.prototype.refreshData = function (data) {
|
|
2366
2393
|
//TODO:IMPL
|
|
2367
2394
|
};
|
|
@@ -2477,6 +2504,9 @@
|
|
|
2477
2504
|
return this;
|
|
2478
2505
|
};
|
|
2479
2506
|
/** @ignore */
|
|
2507
|
+
AreaChartService.prototype.setSelection = function (from, to) {
|
|
2508
|
+
};
|
|
2509
|
+
/** @ignore */
|
|
2480
2510
|
AreaChartService.prototype.refreshData = function (data) {
|
|
2481
2511
|
//TODO:IMPL
|
|
2482
2512
|
};
|