@kong-ui-public/analytics-chart 0.1.1 → 0.1.2
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/dist/style.css +1 -1
- package/dist/types/composables/useBarChartOptions.d.ts.map +1 -1
- package/dist/types/composables/useDoughnutChartOptions.d.ts.map +1 -1
- package/dist/types/composables/useI18n.d.ts +132 -0
- package/dist/types/composables/useI18n.d.ts.map +1 -1
- package/dist/types/composables/useLineChartOptions.d.ts.map +1 -1
- package/dist/types/utils/commonOptions.d.ts +3 -0
- package/dist/types/utils/commonOptions.d.ts.map +1 -1
- package/dist/vitals-chart.es.js +2406 -2371
- package/dist/vitals-chart.umd.js +16 -16
- package/package.json +1 -1
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.font-normal[data-v-
|
|
1
|
+
.font-normal[data-v-c3528d01]{font-weight:400}.font-light[data-v-c3528d01]{font-weight:300}.font-semibold[data-v-c3528d01]{font-weight:500}.font-bold[data-v-c3528d01]{font-weight:600}.chart-title[data-v-c3528d01]{font-size:18px}.chart-header[data-v-c3528d01]{display:flex;padding:16px 0;padding:var(--spacing-md, 16px) 0}.tooltip-container[data-v-c3528d01]{background-color:#fff;background-color:var(--white, white);border-radius:3px;box-shadow:0 1px 3px #0000001f,0 1px 2px #0000003d;max-width:425px;min-width:250px;pointer-events:none;position:absolute;transition:all .3s cubic-bezier(.25,.8,.25,1);z-index:999}ul.tooltip[data-v-c3528d01]{list-style:none;margin:0;min-width:250px;padding-left:0}ul.tooltip li[data-v-c3528d01]{display:flex;font-size:14px;margin:8px;margin:var(--spacing-8, 8px)}ul.tooltip li[data-v-c3528d01]:first-child{border-bottom:1px solid rgba(0,0,0,.1);border-bottom:1px solid var(--black-10, rgba(0, 0, 0, .1))}ul.tooltip .tooltip-title[data-v-c3528d01]{display:flex;flex-direction:column;padding-bottom:10px;padding-bottom:var(--spacing-xss, 10px)}ul.tooltip .tooltip-title .title[data-v-c3528d01]{font-size:16px;font-weight:700}ul.tooltip .tooltip-title .subtitle[data-v-c3528d01]{font-size:14px;margin-top:8px;margin-top:var(--spacing-8, 8px)}ul.tooltip .display-label[data-v-c3528d01]{max-width:75%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}ul.tooltip .display-value[data-v-c3528d01]{margin-left:auto;padding-left:8px;padding-left:var(--spacing-8, 8px);white-space:nowrap}ul.tooltip .tooltip-legend[data-v-c3528d01]{display:inline-flex;flex-direction:row;height:15px;margin-right:8px;width:3px}.legend-container[data-v-77ec0661]{display:flex;max-height:inherit;min-width:10%;-ms-overflow-style:thin;overflow-x:hidden;overflow-y:scroll;padding-left:14px;padding-left:var(--spacing-sm, 14px);scrollbar-width:thin}.legend-container.vertical[data-v-77ec0661]{flex-direction:column;max-height:400px;max-width:200px}@media (max-width: 768px){.legend-container.vertical[data-v-77ec0661]{flex-direction:row;max-width:100%;padding-top:16px;padding-top:var(--spacing-md, 16px);width:100%}}.legend-container.horizontal[data-v-77ec0661]{column-gap:14px;column-gap:var(--spacing-sm, 14px);flex-direction:row;flex-wrap:wrap;justify-content:center;margin-top:12px;margin-top:var(--spacing-xs, 12px);max-height:60px;width:100%}.legend-container.horizontal .label[data-v-77ec0661]{width:max-content}.legend-container[data-v-77ec0661]::-webkit-scrollbar-track{background-color:var(--white);border-radius:10px}.legend-container[data-v-77ec0661]::-webkit-scrollbar{width:10px}.legend-container[data-v-77ec0661]::-webkit-scrollbar-thumb{background-color:#e7e7ec;background-color:var(--grey-300, #E7E7EC);border-radius:10px}.legend-container li[data-v-77ec0661]{cursor:pointer;display:flex;height:fit-content;margin:10px;margin:var(--spacing-xxs, 10px)}.legend-container li .legend[data-v-77ec0661]{flex:0 0 14px;height:3px;margin-right:12px;margin-right:var(--spacing-xs, 12px);margin-top:12px;margin-top:var(--spacing-xs, 12px)}.legend-container li .label[data-v-77ec0661]{font-size:14px;font-size:var(--type-sm, 14px)}.legend-container li .sub-label[data-v-77ec0661]{font-size:12px;font-size:var(--type-xs, 12px);word-break:none}.legend-container li .strike-through[data-v-77ec0661]{text-decoration:line-through}.font-normal[data-v-127f97db]{font-weight:400}.font-light[data-v-127f97db]{font-weight:300}.font-semibold[data-v-127f97db]{font-weight:500}.font-bold[data-v-127f97db]{font-weight:600}.chart-title[data-v-127f97db]{font-size:18px}.chart-header[data-v-127f97db]{display:flex;padding:16px 0;padding:var(--spacing-md, 16px) 0}.chart-parent[data-v-127f97db]{align-items:center;display:flex;position:relative}.chart-parent.column[data-v-127f97db]{flex-direction:column}.chart-parent.column .chart-container[data-v-127f97db]{width:100%}.chart-parent.legend-row[data-v-127f97db]{flex-direction:row}.chart-parent.legend-row .chart-container[data-v-127f97db]{flex-grow:1;width:85%!important}@media (max-width: 768px){.chart-parent[data-v-127f97db]{display:flex;flex-wrap:wrap}}.chart-parent .chart-container[data-v-127f97db]{margin-bottom:14px;margin-bottom:var(--spacing-sm, 14px);position:relative}@media (max-width: 768px){.chart-parent .chart-container[data-v-127f97db]{width:100%!important}}.chart-container[data-v-127f97db]{-ms-overflow-style:thin;scrollbar-width:thin}.chart-container[data-v-127f97db]::-webkit-scrollbar-track{background-color:#fff;background-color:var(--white, #ffffff);border-radius:10px}.chart-container[data-v-127f97db]::-webkit-scrollbar{width:10px}.chart-container[data-v-127f97db]::-webkit-scrollbar-thumb{background-color:#e7e7ec;background-color:var(--grey-300, #E7E7EC);border-radius:10px}.axis[data-v-127f97db]{left:0;pointer-events:none;position:absolute;top:0;z-index:99}.axis-tooltip[data-v-127f97db]{background-color:#3c4557;background-color:var(--grey-600, #3c4557);color:var(--white);padding:5px 10px;position:absolute;width:max-content;z-index:100}.tooltip-boundary[data-v-127f97db]{height:100%;left:0;position:relative;top:0;width:100%}.font-normal[data-v-f4058d54]{font-weight:400}.font-light[data-v-f4058d54]{font-weight:300}.font-semibold[data-v-f4058d54]{font-weight:500}.font-bold[data-v-f4058d54]{font-weight:600}.chart-title[data-v-f4058d54]{font-size:18px}.chart-header[data-v-f4058d54]{display:flex;padding:16px 0;padding:var(--spacing-md, 16px) 0}.chart-parent[data-v-f4058d54]{align-items:center;display:flex;position:relative}.chart-parent.column[data-v-f4058d54]{flex-direction:column}.chart-parent.column .chart-container[data-v-f4058d54]{width:100%}.chart-parent.legend-row[data-v-f4058d54]{flex-direction:row}.chart-parent.legend-row .chart-container[data-v-f4058d54]{flex-grow:1;width:85%!important}@media (max-width: 768px){.chart-parent[data-v-f4058d54]{display:flex;flex-wrap:wrap}}.chart-parent .chart-container[data-v-f4058d54]{margin-bottom:14px;margin-bottom:var(--spacing-sm, 14px);position:relative}@media (max-width: 768px){.chart-parent .chart-container[data-v-f4058d54]{width:100%!important}}.font-normal[data-v-be79d968]{font-weight:400}.font-light[data-v-be79d968]{font-weight:300}.font-semibold[data-v-be79d968]{font-weight:500}.font-bold[data-v-be79d968]{font-weight:600}.chart-title[data-v-be79d968]{font-size:18px}.chart-header[data-v-be79d968]{display:flex;padding:16px 0;padding:var(--spacing-md, 16px) 0}.chart-parent[data-v-be79d968]{align-items:center;display:flex;position:relative}.chart-parent.column[data-v-be79d968]{flex-direction:column}.chart-parent.column .chart-container[data-v-be79d968]{width:100%}.chart-parent.legend-row[data-v-be79d968]{flex-direction:row}.chart-parent.legend-row .chart-container[data-v-be79d968]{flex-grow:1;width:85%!important}@media (max-width: 768px){.chart-parent[data-v-be79d968]{display:flex;flex-wrap:wrap}}.chart-parent .chart-container[data-v-be79d968]{margin-bottom:14px;margin-bottom:var(--spacing-sm, 14px);position:relative}@media (max-width: 768px){.chart-parent .chart-container[data-v-be79d968]{width:100%!important}}.font-normal[data-v-8adb5e24]{font-weight:400}.font-light[data-v-8adb5e24]{font-weight:300}.font-semibold[data-v-8adb5e24]{font-weight:500}.font-bold[data-v-8adb5e24]{font-weight:600}.chart-title[data-v-8adb5e24]{font-size:18px}.chart-header[data-v-8adb5e24]{display:flex;padding:16px 0;padding:var(--spacing-md, 16px) 0}.tooltip[data-v-8adb5e24]{display:flex;margin-left:14px;margin-left:var(--spacing-sm, 14px);margin-top:2px}.limit-icon-wrapper[data-v-8adb5e24]{display:flex;flex-direction:row}.analytics-chart-parent[data-v-8adb5e24]{margin:18px;margin:var(--spacing-lg, 18px)}.analytics-chart-parent.chart-border[data-v-8adb5e24]{border:1px solid #E7E7EC;border:1px solid var(--grey-300, #E7E7EC);border-radius:3px;padding:16px;padding:var(--spacing-md, 16px)}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useBarChartOptions.d.ts","sourceRoot":"","sources":["../../../src/composables/useBarChartOptions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAA;AAClE,OAAO,EAAW,yBAAyB,EAAE,SAAS,EAAiB,WAAW,EAAqB,MAAM,UAAU,CAAA;AAKvH,MAAM,CAAC,OAAO,UAAU,kBAAkB,CAAC,YAAY,EAAE,eAAe;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"useBarChartOptions.d.ts","sourceRoot":"","sources":["../../../src/composables/useBarChartOptions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAA;AAClE,OAAO,EAAW,yBAAyB,EAAE,SAAS,EAAiB,WAAW,EAAqB,MAAM,UAAU,CAAA;AAKvH,MAAM,CAAC,OAAO,UAAU,kBAAkB,CAAC,YAAY,EAAE,eAAe;;;;;;;;;;;;;;;kCAsDlC,MAAM,SAAS,MAAM,KAAG,MAAM;;;;;;;;;;;;;;;;;;;;;;;;kCAuC9B,MAAM,SAAS,MAAM,KAAG,MAAM;;;;;;;;;;;;;;;;;;;;;;gCAuCtC,sBAAsB;;;;iCA9H7B,YAAY,KAAK,CAAC;;;;;;;;;;;;;GA6IxC;AAED,OAAO,QAAQ,UAAU,CAAC;IACxB,UAAU,oBAAoB;QAC5B,uBAAuB,EAAE,yBAAyB,CAAC,SAAS,CAAC,CAAC;KAC/D;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDoughnutChartOptions.d.ts","sourceRoot":"","sources":["../../../src/composables/useDoughnutChartOptions.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAA;AACvE,OAAO,EAEL,WAAW,EAEX,yBAAyB,EACzB,SAAS,EACV,MAAM,UAAU,CAAA;AAGjB,MAAM,CAAC,OAAO,UAAU,uBAAuB,CAAC,YAAY,EAAE,oBAAoB;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"useDoughnutChartOptions.d.ts","sourceRoot":"","sources":["../../../src/composables/useDoughnutChartOptions.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAA;AACvE,OAAO,EAEL,WAAW,EAEX,yBAAyB,EACzB,SAAS,EACV,MAAM,UAAU,CAAA;AAGjB,MAAM,CAAC,OAAO,UAAU,uBAAuB,CAAC,YAAY,EAAE,oBAAoB;;;;;;;;;;;;oCAmDpD,sBAAsB;;;;qCA9C7B,YAAY,UAAU,CAAC;;;;;;;;EAyD7C;AAED,OAAO,QAAQ,UAAU,CAAC;IACxB,UAAU,oBAAoB;QAC5B,4BAA4B,EAAE,yBAAyB,CAAC,SAAS,CAAC,CAAC;KACpE;CACF"}
|
|
@@ -71,6 +71,39 @@ export default function useI18n(): {
|
|
|
71
71
|
REQUEST_SIZE_P95: string;
|
|
72
72
|
REQUEST_SIZE_P50: string;
|
|
73
73
|
};
|
|
74
|
+
metricAxisTitles: {
|
|
75
|
+
REQUEST_COUNT: string;
|
|
76
|
+
REQUEST_PER_MINUTE: string;
|
|
77
|
+
RESPONSE_LATENCY_P99: string;
|
|
78
|
+
RESPONSE_LATENCY_P95: string;
|
|
79
|
+
RESPONSE_LATENCY_P50: string;
|
|
80
|
+
RESPONSE_SIZE_P99: string;
|
|
81
|
+
RESPONSE_SIZE_P95: string;
|
|
82
|
+
RESPONSE_SIZE_P50: string;
|
|
83
|
+
REQUEST_SIZE_P99: string;
|
|
84
|
+
REQUEST_SIZE_P95: string;
|
|
85
|
+
REQUEST_SIZE_P50: string;
|
|
86
|
+
TotalRequests: string;
|
|
87
|
+
RequestsPerMinute: string;
|
|
88
|
+
LatencyP99: string;
|
|
89
|
+
LatencyP95: string;
|
|
90
|
+
LatencyP50: string;
|
|
91
|
+
LatencyAverage: string;
|
|
92
|
+
UpstreamLatencyP99: string;
|
|
93
|
+
UpstreamLatencyP95: string;
|
|
94
|
+
UpstreamLatencyP50: string;
|
|
95
|
+
UpstreamLatencyAverage: string;
|
|
96
|
+
KongLatencyP99: string;
|
|
97
|
+
KongLatencyP95: string;
|
|
98
|
+
KongLatencyP50: string;
|
|
99
|
+
KongLatencyAverage: string;
|
|
100
|
+
ResponseSizeP99: string;
|
|
101
|
+
ResponseSizeP95: string;
|
|
102
|
+
ResponseSizeP50: string;
|
|
103
|
+
RequestSizeP99: string;
|
|
104
|
+
RequestSizeP95: string;
|
|
105
|
+
RequestSizeP50: string;
|
|
106
|
+
};
|
|
74
107
|
granularityAxisTitles: {
|
|
75
108
|
Minutely: string;
|
|
76
109
|
Hourly: string;
|
|
@@ -152,6 +185,39 @@ export default function useI18n(): {
|
|
|
152
185
|
REQUEST_SIZE_P95: string;
|
|
153
186
|
REQUEST_SIZE_P50: string;
|
|
154
187
|
};
|
|
188
|
+
metricAxisTitles: {
|
|
189
|
+
REQUEST_COUNT: string;
|
|
190
|
+
REQUEST_PER_MINUTE: string;
|
|
191
|
+
RESPONSE_LATENCY_P99: string;
|
|
192
|
+
RESPONSE_LATENCY_P95: string;
|
|
193
|
+
RESPONSE_LATENCY_P50: string;
|
|
194
|
+
RESPONSE_SIZE_P99: string;
|
|
195
|
+
RESPONSE_SIZE_P95: string;
|
|
196
|
+
RESPONSE_SIZE_P50: string;
|
|
197
|
+
REQUEST_SIZE_P99: string;
|
|
198
|
+
REQUEST_SIZE_P95: string;
|
|
199
|
+
REQUEST_SIZE_P50: string;
|
|
200
|
+
TotalRequests: string;
|
|
201
|
+
RequestsPerMinute: string;
|
|
202
|
+
LatencyP99: string;
|
|
203
|
+
LatencyP95: string;
|
|
204
|
+
LatencyP50: string;
|
|
205
|
+
LatencyAverage: string;
|
|
206
|
+
UpstreamLatencyP99: string;
|
|
207
|
+
UpstreamLatencyP95: string;
|
|
208
|
+
UpstreamLatencyP50: string;
|
|
209
|
+
UpstreamLatencyAverage: string;
|
|
210
|
+
KongLatencyP99: string;
|
|
211
|
+
KongLatencyP95: string;
|
|
212
|
+
KongLatencyP50: string;
|
|
213
|
+
KongLatencyAverage: string;
|
|
214
|
+
ResponseSizeP99: string;
|
|
215
|
+
ResponseSizeP95: string;
|
|
216
|
+
ResponseSizeP50: string;
|
|
217
|
+
RequestSizeP99: string;
|
|
218
|
+
RequestSizeP95: string;
|
|
219
|
+
RequestSizeP50: string;
|
|
220
|
+
};
|
|
155
221
|
granularityAxisTitles: {
|
|
156
222
|
Minutely: string;
|
|
157
223
|
Hourly: string;
|
|
@@ -243,6 +309,39 @@ export default function useI18n(): {
|
|
|
243
309
|
REQUEST_SIZE_P95: string;
|
|
244
310
|
REQUEST_SIZE_P50: string;
|
|
245
311
|
};
|
|
312
|
+
metricAxisTitles: {
|
|
313
|
+
REQUEST_COUNT: string;
|
|
314
|
+
REQUEST_PER_MINUTE: string;
|
|
315
|
+
RESPONSE_LATENCY_P99: string;
|
|
316
|
+
RESPONSE_LATENCY_P95: string;
|
|
317
|
+
RESPONSE_LATENCY_P50: string;
|
|
318
|
+
RESPONSE_SIZE_P99: string;
|
|
319
|
+
RESPONSE_SIZE_P95: string;
|
|
320
|
+
RESPONSE_SIZE_P50: string;
|
|
321
|
+
REQUEST_SIZE_P99: string;
|
|
322
|
+
REQUEST_SIZE_P95: string;
|
|
323
|
+
REQUEST_SIZE_P50: string;
|
|
324
|
+
TotalRequests: string;
|
|
325
|
+
RequestsPerMinute: string;
|
|
326
|
+
LatencyP99: string;
|
|
327
|
+
LatencyP95: string;
|
|
328
|
+
LatencyP50: string;
|
|
329
|
+
LatencyAverage: string;
|
|
330
|
+
UpstreamLatencyP99: string;
|
|
331
|
+
UpstreamLatencyP95: string;
|
|
332
|
+
UpstreamLatencyP50: string;
|
|
333
|
+
UpstreamLatencyAverage: string;
|
|
334
|
+
KongLatencyP99: string;
|
|
335
|
+
KongLatencyP95: string;
|
|
336
|
+
KongLatencyP50: string;
|
|
337
|
+
KongLatencyAverage: string;
|
|
338
|
+
ResponseSizeP99: string;
|
|
339
|
+
ResponseSizeP95: string;
|
|
340
|
+
ResponseSizeP50: string;
|
|
341
|
+
RequestSizeP99: string;
|
|
342
|
+
RequestSizeP95: string;
|
|
343
|
+
RequestSizeP50: string;
|
|
344
|
+
};
|
|
246
345
|
granularityAxisTitles: {
|
|
247
346
|
Minutely: string;
|
|
248
347
|
Hourly: string;
|
|
@@ -334,6 +433,39 @@ export default function useI18n(): {
|
|
|
334
433
|
REQUEST_SIZE_P95: string;
|
|
335
434
|
REQUEST_SIZE_P50: string;
|
|
336
435
|
};
|
|
436
|
+
metricAxisTitles: {
|
|
437
|
+
REQUEST_COUNT: string;
|
|
438
|
+
REQUEST_PER_MINUTE: string;
|
|
439
|
+
RESPONSE_LATENCY_P99: string;
|
|
440
|
+
RESPONSE_LATENCY_P95: string;
|
|
441
|
+
RESPONSE_LATENCY_P50: string;
|
|
442
|
+
RESPONSE_SIZE_P99: string;
|
|
443
|
+
RESPONSE_SIZE_P95: string;
|
|
444
|
+
RESPONSE_SIZE_P50: string;
|
|
445
|
+
REQUEST_SIZE_P99: string;
|
|
446
|
+
REQUEST_SIZE_P95: string;
|
|
447
|
+
REQUEST_SIZE_P50: string;
|
|
448
|
+
TotalRequests: string;
|
|
449
|
+
RequestsPerMinute: string;
|
|
450
|
+
LatencyP99: string;
|
|
451
|
+
LatencyP95: string;
|
|
452
|
+
LatencyP50: string;
|
|
453
|
+
LatencyAverage: string;
|
|
454
|
+
UpstreamLatencyP99: string;
|
|
455
|
+
UpstreamLatencyP95: string;
|
|
456
|
+
UpstreamLatencyP50: string;
|
|
457
|
+
UpstreamLatencyAverage: string;
|
|
458
|
+
KongLatencyP99: string;
|
|
459
|
+
KongLatencyP95: string;
|
|
460
|
+
KongLatencyP50: string;
|
|
461
|
+
KongLatencyAverage: string;
|
|
462
|
+
ResponseSizeP99: string;
|
|
463
|
+
ResponseSizeP95: string;
|
|
464
|
+
ResponseSizeP50: string;
|
|
465
|
+
RequestSizeP99: string;
|
|
466
|
+
RequestSizeP95: string;
|
|
467
|
+
RequestSizeP50: string;
|
|
468
|
+
};
|
|
337
469
|
granularityAxisTitles: {
|
|
338
470
|
Minutely: string;
|
|
339
471
|
Hourly: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useI18n.d.ts","sourceRoot":"","sources":["../../../src/composables/useI18n.ts"],"names":[],"mappings":"AAGA,MAAM,CAAC,OAAO,UAAU,OAAO
|
|
1
|
+
{"version":3,"file":"useI18n.d.ts","sourceRoot":"","sources":["../../../src/composables/useI18n.ts"],"names":[],"mappings":"AAGA,MAAM,CAAC,OAAO,UAAU,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAO9B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useLineChartOptions.d.ts","sourceRoot":"","sources":["../../../src/composables/useLineChartOptions.ts"],"names":[],"mappings":"AACA,OAAO,EAAW,yBAAyB,EAAE,SAAS,EAAwC,MAAM,UAAU,CAAA;AAI9G,OAAO,EAAE,sBAAsB,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAGnE,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,YAAY,EAAE,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"useLineChartOptions.d.ts","sourceRoot":"","sources":["../../../src/composables/useLineChartOptions.ts"],"names":[],"mappings":"AACA,OAAO,EAAW,yBAAyB,EAAE,SAAS,EAAwC,MAAM,UAAU,CAAA;AAI9G,OAAO,EAAE,sBAAsB,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAGnE,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,YAAY,EAAE,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAgK5C,sBAAsB;;;;;;;;EAWnD;AAED,OAAO,QAAQ,UAAU,CAAC;IACxB,UAAU,oBAAoB;QAC5B,wBAAwB,EAAE,yBAAyB,CAAC,SAAS,CAAC,CAAC;KAChE;CACF"}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { ExternalTooltipContext, KChartData, TooltipState } from '../types';
|
|
2
|
+
import { Point } from 'chart.js';
|
|
2
3
|
export declare const tooltipBehavior: (tooltipData: TooltipState, context: ExternalTooltipContext) => void;
|
|
3
4
|
export declare const hasDatasets: (chartData: KChartData) => number;
|
|
4
5
|
export declare const hasDataInDatasets: (chartData: KChartData) => boolean | 0;
|
|
5
6
|
export declare const hasTwoOrMoreDataPoints: (chartData: KChartData) => boolean | 0;
|
|
6
7
|
export declare const hasTimeseriesData: (chartData: KChartData) => boolean | 0;
|
|
7
8
|
export declare const hasMillisecondTimestamps: (chartData: KChartData) => boolean | 0;
|
|
9
|
+
export declare const horizontalTooltipPositioning: (position: Point, tooltipWidth: number, chartCenterX: number) => number;
|
|
10
|
+
export declare const verticalTooltipPositioning: (position: Point, tooltipHeight: number, chartCenterY: number) => number;
|
|
8
11
|
//# sourceMappingURL=commonOptions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"commonOptions.d.ts","sourceRoot":"","sources":["../../../src/utils/commonOptions.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;
|
|
1
|
+
{"version":3,"file":"commonOptions.d.ts","sourceRoot":"","sources":["../../../src/utils/commonOptions.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AAG3E,OAAO,EAAE,KAAK,EAAoB,MAAM,UAAU,CAAA;AAGlD,eAAO,MAAM,eAAe,gBAAiB,YAAY,WAAW,sBAAsB,KAAI,IAgD7F,CAAA;AAED,eAAO,MAAM,WAAW,cAAe,UAAU,WACa,CAAA;AAE9D,eAAO,MAAM,iBAAiB,cAAe,UAAU,gBACoB,CAAA;AAE3E,eAAO,MAAM,sBAAsB,cAAe,UAAU,gBAEP,CAAA;AAErD,eAAO,MAAM,iBAAiB,cAAe,UAAU,gBAC0E,CAAA;AAEjI,eAAO,MAAM,wBAAwB,cAAe,UAAU,gBAI3D,CAAA;AAEH,eAAO,MAAM,4BAA4B,aAAc,KAAK,gBAAgB,MAAM,gBAAgB,MAAM,WAoCvG,CAAA;AAED,eAAO,MAAM,0BAA0B,aAAc,KAAK,iBAAiB,MAAM,gBAAgB,MAAM,WAStG,CAAA"}
|