@fluentui/react-charting 5.19.17 → 5.19.19

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.
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
- import { ISankeyChartProps } from './SankeyChart.types';
3
2
  import { IBasestate, IChartHoverCardProps, SLink, SNode } from '../../index';
3
+ import { ISankeyChartProps } from './SankeyChart.types';
4
4
  export interface ISankeyChartState extends IBasestate, IChartHoverCardProps {
5
5
  containerWidth: number;
6
6
  containerHeight: number;
@@ -13,7 +13,6 @@ export interface ISankeyChartState extends IBasestate, IChartHoverCardProps {
13
13
  shouldOverflow: boolean;
14
14
  }
15
15
  export declare class SankeyChartBase extends React.Component<ISankeyChartProps, ISankeyChartState> {
16
- private _classNames;
17
16
  private chartContainer;
18
17
  private _reqID;
19
18
  private _calloutId;
@@ -30,29 +29,8 @@ export declare class SankeyChartBase extends React.Component<ISankeyChartProps,
30
29
  componentWillUnmount(): void;
31
30
  render(): React.ReactNode;
32
31
  private _preRenderLayout;
33
- /**
34
- * This is used for calculating the node non normalized value based on link non normalized value.
35
- *
36
- */
37
- private _populateNodeActualValue;
38
32
  private _normalizeSankeyData;
39
33
  /**
40
- *
41
- * This is used to group nodes by column index.
42
- */
43
- private _populateNodeInColumns;
44
- /**
45
- * This is used to normalize the nodes value whose value is less than 1% of the total column value.
46
- *
47
- */
48
- private _adjustOnePercentHeightNodes;
49
- /**
50
- *
51
- * This is used for normalizing each links value for reflecting the normalized node value.
52
- */
53
- private _changeColumnValue;
54
- /**
55
- *
56
34
  * This is used to introduce dynamic padding for cases where the number of nodes in a column is huge
57
35
  * so that we maintain a node to space ratio for such columns as if we fail to do so the
58
36
  * chart is devoid of nodes and only shows links.
@@ -76,14 +54,10 @@ export declare class SankeyChartBase extends React.Component<ISankeyChartProps,
76
54
  private _fillStreamColors;
77
55
  private _fillStreamBorder;
78
56
  private _fillNodeBorder;
79
- private _getSelectedNodes;
80
- private _getSelectedLinks;
81
- private _getSelectedLinksforStreamHover;
82
57
  private _getOpacityStream;
83
58
  private _getOpacityStreamBorder;
84
59
  private _fitParentContainer;
85
60
  /**
86
- *
87
61
  * @param text is the text which we are trying to truncate
88
62
  * @param rectangleWidth is the width of the rectangle which will contain the text
89
63
  * @param padding is the space we need to leave between the rect lines and other text