cats-charts 0.0.64 → 0.0.66
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/fesm2022/cats-charts.mjs +4 -1
- package/fesm2022/cats-charts.mjs.map +1 -1
- package/index.d.ts +1 -0
- package/package.json +1 -1
package/fesm2022/cats-charts.mjs
CHANGED
|
@@ -1164,6 +1164,7 @@ class Charts {
|
|
|
1164
1164
|
color:#444;
|
|
1165
1165
|
box-shadow:0 2px 8px rgba(0,0,0,0.15);
|
|
1166
1166
|
min-width:220px;
|
|
1167
|
+
max-width:500px;
|
|
1167
1168
|
">
|
|
1168
1169
|
<div style="
|
|
1169
1170
|
position: absolute;
|
|
@@ -1210,7 +1211,7 @@ class Charts {
|
|
|
1210
1211
|
</div>
|
|
1211
1212
|
|
|
1212
1213
|
<div style="margin-top:6px;">
|
|
1213
|
-
Location: <b>${d.location || '-'}</b>
|
|
1214
|
+
Location: <b style="white-space: break-spaces;">${d.location || '-'}</b>
|
|
1214
1215
|
</div>
|
|
1215
1216
|
|
|
1216
1217
|
<div style="
|
|
@@ -3259,6 +3260,7 @@ class CustomChartComponent {
|
|
|
3259
3260
|
return '';
|
|
3260
3261
|
return this.chartService.timelineChartTooltipFormatter(params);
|
|
3261
3262
|
},
|
|
3263
|
+
...this.config.tooltip,
|
|
3262
3264
|
},
|
|
3263
3265
|
legend: this.buildLegend(),
|
|
3264
3266
|
grid: {
|
|
@@ -3298,6 +3300,7 @@ class CustomChartComponent {
|
|
|
3298
3300
|
// formatter: (val: number) => `${val}:00`,
|
|
3299
3301
|
// },
|
|
3300
3302
|
axisLabel: {
|
|
3303
|
+
hideOverlap: true,
|
|
3301
3304
|
formatter: (val) => this.formatHourLabel(val, is12Hour),
|
|
3302
3305
|
},
|
|
3303
3306
|
},
|