@fluentui/react-charting 5.19.25 → 5.19.26

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.
@@ -37,18 +37,28 @@ export declare function preRenderLayout(margins: IMargins, containerWidth: numbe
37
37
  export declare class SankeyChartBase extends React.Component<ISankeyChartProps, ISankeyChartState> {
38
38
  private chartContainer;
39
39
  private _reqID;
40
- private _calloutId;
41
- private _linkId;
42
- private _margins;
43
- private _isRtl;
44
- private _normalizeData;
45
- private _emptyChartId;
40
+ private readonly _calloutId;
41
+ private readonly _linkId;
42
+ private readonly _chartId;
43
+ private readonly _emptyChartId;
44
+ private readonly _labelTooltipId;
45
+ private readonly _margins;
46
+ private readonly _isRtl;
47
+ private readonly _computeClassNamesProps;
48
+ private readonly _computeClassNames;
49
+ private readonly _normalizeData;
50
+ private readonly _fetchTooltip;
51
+ private readonly _nodeAttributes;
52
+ private readonly _linkAttributes;
53
+ private readonly _fetchNodes;
54
+ private readonly _fetchLinks;
46
55
  constructor(props: ISankeyChartProps);
47
56
  componentDidMount(): void;
48
57
  componentDidUpdate(prevProps: ISankeyChartProps): void;
49
58
  componentWillUnmount(): void;
50
59
  render(): React.ReactNode;
51
60
  private _normalizeSankeyData;
61
+ private _labelTooltipDiv;
52
62
  private _createLinks;
53
63
  private _createNodes;
54
64
  private _onLeave;
@@ -59,25 +69,12 @@ export declare class SankeyChartBase extends React.Component<ISankeyChartProps,
59
69
  private _onCloseCallout;
60
70
  private _onBlur;
61
71
  private _fillNodeColors;
62
- /**
63
- * This is used to assign node fillcolors and borderColor cyclically when the user doesnt
64
- * provide color to individual node.
65
- */
66
- private _assignNodeColors;
67
72
  private _fillStreamColors;
68
73
  private _fillStreamBorder;
69
74
  private _fillNodeBorder;
70
75
  private _getOpacityStream;
71
76
  private _getOpacityStreamBorder;
72
77
  private _fitParentContainer;
73
- /**
74
- * @param text is the text which we are trying to truncate
75
- * @param rectangleWidth is the width of the rectangle which will contain the text
76
- * @param padding is the space we need to leave between the rect lines and other text
77
- * @param nodeWeight is the text if present needs to be accomodate in the same line as text.
78
- * @returns the truncated text , if truncated given the above parameters.
79
- */
80
- private _truncateText;
81
78
  private _showTooltip;
82
79
  private _hideTooltip;
83
80
  private _isChartEmpty;