-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into locUpdate
- Loading branch information
Showing
28 changed files
with
15,240 additions
and
133 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
|
||
# Sankey visual documentation | ||
|
||
[Data fields](#data-fields) | ||
|
||
[Sankey format panel](#sankey-format-panel) | ||
|
||
[Scale settings](#scale-settings) | ||
|
||
[Cycles](#cycles) | ||
|
||
[Drag & drop](#drag--drop) | ||
|
||
## Data fields | ||
|
||
The Sankey has several buckets. There are Source, Destination, Source labels, Destination labels, Weight. Source and Destination buckets are required to display the diagram. | ||
|
||
In this case the custom visual displays links between source and destination with same links weights. | ||
|
||
![Source and Destination fields](imgs/SourceDestination.png) | ||
|
||
Weight data bucket allows setting weights for each link. | ||
|
||
If Weight data field is filled, the custom visual draws the links with different sizes. And size of link depends on value of data | ||
|
||
![Source and Destination fields with weight values](imgs/SourceDestinationWeight.png) | ||
|
||
If Source and Destination fields are filled, you can construct the Sankey with duplicated nodes. To do so you just need to give different names for nodes but with the same labels. | ||
|
||
In this sample, D node is rendered twice. | ||
|
||
![Source and Destination fields with custom labels](imgs/SourceDestinationWeightLabels.png) | ||
|
||
## Sankey format panel | ||
|
||
*Data labels* properties provide settings to configure node labels | ||
|
||
_Color_ - defines text color of label | ||
|
||
_Text size_ - defines text size of label | ||
|
||
![Data labels](imgs/DataLabels.png) | ||
|
||
*Data link labels* properties provide settings for configuring link labels. | ||
|
||
![Data link labels properties](imgs/DataLinkLabels.png) | ||
|
||
_Color_ - defines text color of label | ||
|
||
_Text size_ - defines text size of label | ||
|
||
_Force display properties_ - changes the behavior of labels in the intersection. Labels will be hidden if there's no room to fit them. If Force display option is enabled, the custom visual displays the label in any way | ||
|
||
![Force display properties](imgs/ForceDisplayProperties.png) | ||
|
||
_Display units properties_ - changes display units in link labels and tooltips | ||
|
||
![Display units properties](imgs/DisplayUnitsProperties.png) | ||
|
||
*Links* properties define color for each link | ||
|
||
![Links properties](imgs/LinksProperties.png) | ||
|
||
### Scale settings | ||
|
||
Scale settings allow configuring the scale properties of the chart. | ||
|
||
Provide min optimal height property - the chart draws all nodes with minimal height to supply convenient size. It can be useful if a distribution of weight values very hight. For example, the minimal value in a data set is 1 and maximum value in a dataset is 1 million. | ||
|
||
![Optimal height](imgs/MinOptimalHeightProperty.png) | ||
|
||
Enable logarithmic scale - this option switches linear scaling to logarithmic. With this options, the chart smooths values distribution | ||
in a dataset. | ||
|
||
![Log scale](imgs/LogarithmicScaleProperties.png) | ||
|
||
## Cycles | ||
|
||
If a dataset contains the nodes with a link to itself or graphs with cycles, the visual duplicates one of the node to "break" cycle and draws the same node twice. | ||
|
||
In the chart, you can see that node B was drawn twice. | ||
|
||
![Cycles](imgs/Cycles.png) | ||
|
||
In this chart, the node T has self-link and was drawn twice too. | ||
|
||
![Node self cycle](imgs/NodeSelfCycle.png) | ||
|
||
## Drag & drop | ||
|
||
Sankey visual allows moving nodes to any position of viewport by mouse. After moving nodes to different positions, the visual saves the state and draws nodes at the same positions after resizing the visual or reloading the report. | ||
|
||
![Default view if chart](imgs/Default.png) | ||
|
||
![Drag & Drop nodes](imgs/Drag&Drop.png) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.