katucharts.js 0.2.19 → 0.2.21
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/katucharts.es.js +1834 -1800
- package/dist/katucharts.umd.js +4 -4
- package/dist/license/LicenseManager.d.ts +6 -7
- package/dist/series/pie/PieChart.d.ts +21 -0
- package/package.json +1 -1
|
@@ -4,13 +4,12 @@
|
|
|
4
4
|
* Validation is hybrid:
|
|
5
5
|
* - Offline: Ed25519 signature check, synchronous and instant. The bundle
|
|
6
6
|
* carries only the public key, so it can verify keys but never sign them.
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
* backend falls back to the offline signature.
|
|
7
|
+
* - Online: a background POST to the issuing backend confirms the key is
|
|
8
|
+
* genuine, the subscription is active, and the current host is within the
|
|
9
|
+
* key's seat limit. Results are cached with an offline grace window. In
|
|
10
|
+
* 'strict' mode, once the grace window lapses a successful online check
|
|
11
|
+
* becomes mandatory; in 'lenient' mode an unreachable backend falls back to
|
|
12
|
+
* the offline signature.
|
|
14
13
|
*/
|
|
15
14
|
export interface LicensePayload {
|
|
16
15
|
customer: string;
|
|
@@ -4,6 +4,27 @@ import type { InternalSeriesConfig } from '../../types/options';
|
|
|
4
4
|
export declare class PieChart extends BaseSeries {
|
|
5
5
|
private selectedIndices;
|
|
6
6
|
constructor(config: InternalSeriesConfig);
|
|
7
|
+
/**
|
|
8
|
+
* Value-bearing points eligible for the legend — one entry per slice, in data
|
|
9
|
+
* order. Mirrors the renderer's filter so palette colours line up with slices.
|
|
10
|
+
*/
|
|
11
|
+
private legendPoints;
|
|
12
|
+
/**
|
|
13
|
+
* One legend entry per slice (name + slice colour), so a pie can show a
|
|
14
|
+
* per-slice legend instead of a single series item. Hidden slices report
|
|
15
|
+
* `visible: false` so the legend can strike them through.
|
|
16
|
+
*/
|
|
17
|
+
getMultiLegendItems(): {
|
|
18
|
+
label: string;
|
|
19
|
+
color: string;
|
|
20
|
+
visible?: boolean;
|
|
21
|
+
}[] | null;
|
|
22
|
+
/**
|
|
23
|
+
* Toggles the slice at `position`, redraws, and returns its new visible state
|
|
24
|
+
* so the legend can update the item. Reuses the `point.visible` convention the
|
|
25
|
+
* renderer already honours to drop hidden slices.
|
|
26
|
+
*/
|
|
27
|
+
toggleLegendItem(position: number): boolean | null;
|
|
7
28
|
/**
|
|
8
29
|
* Returns the enabled data-label configs in array form. The API allows a
|
|
9
30
|
* pie point to carry several label sets (e.g. the name outside the slice plus
|