cx 24.8.1 → 24.8.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/manifest.js +683 -683
- package/dist/widgets.js +2 -1
- package/package.json +1 -1
- package/src/charts/axis/Axis.d.ts +3 -0
- package/src/widgets/overlay/Tooltip.js +2 -1
package/dist/widgets.js
CHANGED
|
@@ -4326,7 +4326,8 @@ function tooltipParentWillUnmount(parentInstance) {
|
|
|
4326
4326
|
}
|
|
4327
4327
|
function tooltipParentDidUpdate(element, parentInstance, tooltip) {
|
|
4328
4328
|
var instance = getTooltipInstance(element, parentInstance, tooltip);
|
|
4329
|
-
if (instance
|
|
4329
|
+
if (instance && instance.tooltipComponent)
|
|
4330
|
+
instance.widget.updateDropdownPosition(instance, instance.tooltipComponent);
|
|
4330
4331
|
}
|
|
4331
4332
|
function enableTooltips() {
|
|
4332
4333
|
wireTooltipOps({
|
package/package.json
CHANGED
|
@@ -95,6 +95,9 @@ export interface AxisProps extends BoundedObjectProps {
|
|
|
95
95
|
value: any,
|
|
96
96
|
{ tickIndex, serieIndex }: { tickIndex: number; serieIndex: number },
|
|
97
97
|
) => { text: string; style?: any; className?: string }[]);
|
|
98
|
+
|
|
99
|
+
/** Distance between the even labels and the axis. */
|
|
100
|
+
alternateLabelOffset?: number | string;
|
|
98
101
|
}
|
|
99
102
|
|
|
100
103
|
export class Axis extends BoundedObject {}
|
|
@@ -279,7 +279,8 @@ function tooltipParentWillUnmount(parentInstance) {
|
|
|
279
279
|
|
|
280
280
|
function tooltipParentDidUpdate(element, parentInstance, tooltip) {
|
|
281
281
|
let instance = getTooltipInstance(element, parentInstance, tooltip);
|
|
282
|
-
if (instance
|
|
282
|
+
if (instance && instance.tooltipComponent)
|
|
283
|
+
instance.widget.updateDropdownPosition(instance, instance.tooltipComponent);
|
|
283
284
|
}
|
|
284
285
|
|
|
285
286
|
export function enableTooltips() {
|