GetBubbleTreeResult GetBubbleTree(BubbleTreeId tBubbleTree, GetBubbleTreeArg tArg)
tBubbleTree. Bubble tree moniker.
tArg. Bubble tree settings getting parameters.
The GetBubbleTree operation gets bubble tree settings.
To execute the operation, in the tBubbleTree field specify the bubble tree moniker, and in the tArg field specify parameters, according to which settings are obtained. The moniker may be based on the express report moniker by the following rule: "Opened express report instance moniker"!BubbleTree.
Below is the example of using the GetBubbleTree operation to get bubble tree settings. The request contains bubble tree moniker, the response contains requested settings.
{ "GetBubbleTree" : { "tBubbleTree" : { "id" : "S1!M!S!E2!BubbleTree" }, "tArg" : { "pattern" : { "all" : "true" } } } }
{ "GetBubbleTreeResult" : { "id" : { "id" : "S1!M!S!E2!BubbleTree" }, "meta" : { "md" : { "BubbleTree" : { "@PS" : "-1", "@AnimationDuration" : "1000.00000", "@LabelAutoColor" : "true", "@UseItemColorForToolTipBorder" : "true", "@UseSelectOnRightClick" : "true", "@Alignment" : "Right", "InnerLabelsStyle" : { "@Padding" : "0.00000 0.00000 0.00000 0.00000", "@NoDataText" : "", "@TextWrapping" : "NoWrap", "@Margin" : "0.00000 0.00000 0.00000 0.00000", "@Alignment" : "Center", "Style" : { "Release" : { "Font" : { "@IsItalic" : "false", "@IsUnderline" : "false", "@FontFamily" : "Tahoma", "@Size" : "12.00000", "@IsBold" : "false", "@Color" : "#FF8C8C8C" } } }, "MaskText" : { "@IsAuto" : "true" }, "NoDataText" : { "@IsAuto" : "true" } }, "OuterLabelsStyle" : { "@Padding" : "6.00000 6.00000 6.00000 6.00000", "@NoDataText" : "", "@TextWrapping" : "NoWrap", "@Margin" : "0.00000 0.00000 0.00000 0.00000", "@Alignment" : "Center", "Style" : { "Release" : { "Font" : { "@IsItalic" : "false", "@IsUnderline" : "false", "@FontFamily" : "Tahoma", "@Size" : "12.00000", "@IsBold" : "false", "@Color" : "#FF9C9B9B" }, "Background" : { "@PPType" : "PP.SolidColorBrush", "@Opacity" : "0.50196", "@Color" : "#FFFFFF" }, "Border" : { "@Width" : "1.00000", "@Style" : "solid", "@Radius" : "4.00000", "@Color" : "#FFC1C1C1" } } }, "MaskText" : { "@IsAuto" : "false", "@Value" : "{%Name}" }, "NoDataText" : { "@IsAuto" : "true" } }, "ItemsTooltipStyle" : { "@Padding" : "6.00000 6.00000 6.00000 6.00000", "@HoverMode" : "MouseOver", "@NoDataText" : "", "@TextWrapping" : "NoWrap", "@Margin" : "0.00000 0.00000 0.00000 0.00000", "@Alignment" : "Left", "Style" : { "Release" : { "Font" : { "@IsItalic" : "false", "@IsUnderline" : "false", "@FontFamily" : "Tahoma", "@Size" : "13.00000", "@IsBold" : "false", "@Color" : "#FF918F8D" }, "Background" : { "@PPType" : "PP.SolidColorBrush", "@Opacity" : "1.00000", "@Color" : "#FFFFFF" }, "Border" : { "@Width" : "1.00000", "@Style" : "solid", "@Radius" : "0.00000", "@Color" : "#FFC1C1C1" } } }, "MaskText" : { "@IsAuto" : "true" }, "NoDataText" : { "@IsAuto" : "true" } }, "Model" : { "@ActiveItem" : "VISUALIZER_TOTAL_ID", "RootItem" : { "@Id" : "VISUALIZER_TOTAL_ID", "Items" : [ { "@Id" : "1", "Items" : { "@Id" : "2", "Items" : { "@Id" : "3" } } }, { "@Id" : "4" } ] } }, "ItemsNames" : { "Item" : [ { "@Key" : "3", "@Value" : "Item 3" }, { "@Key" : "4", "@Value" : "Item 4" }, { "@Key" : "VISUALIZER_TOTAL_ID", "@Value" : "Dim_1" }, { "@Key" : "1", "@Value" : "Item 1" }, { "@Key" : "2", "@Value" : "Item 2" } ] }, "OrbitsPen" : { "@Width" : "2.00000", "@Style" : "solid", "@Color" : "#FFE0E0E0" }, "ColorVisual" : { "ColorMapping" : { "@Type" : "Scale", "@Scale" : "Scale50", "@Index" : "0", "@Format" : "#,##0.00", "@DataSource" : "DataSource0", "@DimAttributeId" : "DefaultID", "@Id" : "DSMapping56" } }, "StyleContainer" : { "@SCK" : "4294967295", "@SCT" : "0" }, "Timeline" : { "@StepDuration" : "1000.00000", "@IsOverlap" : "false", "@DelayDuration" : "1000.00000", "@Padding" : "0.00000 0.00000 0.00000 0.00000", "@HorizontalAlignment" : "Center", "@VerticalAlignment" : "Bottom", "@IsVisible" : "true", "@LastIndexAsInitial" : "true", "@Inverse" : "false", "@ReturnToInitialState" : "true", "@Margin" : "10.00000 13.00000 6.00000 8.00000", "@CurrentStep" : "0", "Style" : { "Release" : { "Font" : { "@IsItalic" : "false", "@IsUnderline" : "false", "@FontFamily" : "Tahoma", "@Size" : "11.00000", "@IsBold" : "false", "@Color" : "#FF918F8D" } } } }, "Legends" : { "Legend0" : { "@Marker" : "Circle", "@Type" : "Intervals", "@AutoColumnsCount" : "true", "@ColorApplying" : "Marker", "@NoDataVisible" : "true", "@CellSpacing" : "10.00000 10.00000", "@Mode" : "LessGreater", "@Visibility" : "IsDependent", "@Scale" : "Scale50", "@Format" : "#,##0.00", "@HoverMode" : "MouseOver", "@HorizontalAlignment" : "Center", "@TextSpacing" : "10.00000", "@DoHighlight" : "false", "@IsOuter" : "false", "@NoDataPosition" : "After", "@Id" : "Legend0", "@TextHorizontalAlignment" : "Left", "@IncludeEquals" : "true", "@IsOverlap" : "false", "@ColumnCount" : "0", "@Padding" : "6.00000 6.00000 6.00000 6.00000", "@VerticalAlignment" : "Bottom", "@ContentAlignment" : "Center", "@Margin" : "0.00000 0.00000 0.00000 0.00000", "@ItemsOrder" : "LeftToRight", "Style" : { "Release" : { "Font" : { "@IsItalic" : "false", "@IsUnderline" : "false", "@FontFamily" : "Tahoma", "@Size" : "12.00000", "@IsBold" : "false", "@Color" : "#FF918F8D" } } }, "EqualFormat" : { "@IsAuto" : "true" }, "GreaterFormat" : { "@IsAuto" : "true" }, "LessFormat" : { "@IsAuto" : "true" }, "BetweenFormat" : { "@IsAuto" : "true" }, "NoDataText" : { "@IsAuto" : "true" }, "Header" : { "@Padding" : "0.00000 0.00000 0.00000 0.00000", "@IsVisible" : "true", "@NoDataText" : "", "@TextWrapping" : "NoWrap", "@Margin" : "0.00000 0.00000 0.00000 0.00000", "@Alignment" : "Center", "Style" : { "Release" : { "Font" : { "@IsItalic" : "false", "@IsUnderline" : "false", "@FontFamily" : "Tahoma", "@Size" : "12.00000", "@IsBold" : "false", "@Color" : "#FF918F8D" } } }, "MaskText" : { "@IsAuto" : "true" }, "NoDataText" : { "@IsAuto" : "true" }, "Text" : { "@IsAuto" : "false", "@Value" : "Color: " } } } }, "Style" : { "Release" : { "Background" : { "@PPType" : "PP.SolidColorBrush", "@Opacity" : "1.00000", "@Color" : "#FFFFFF" } } }, "LegendMapping" : { "@Legend0" : "DSMapping56" }, "HoverInactiveEffects" : { "Effect" : { "@PPType" : "PP.Ui.OpacityEffect", "@Opacity" : "0.50000" } }, "SelectInactiveEffects" : { "Effect" : { "@PPType" : "PP.Ui.OpacityEffect", "@Opacity" : "0.25000" } }, "CustomData" : "", "DataSources" : { "DataSource0" : { "@Title" : "", "@Id" : "DataSource0", "AttributesNames" : { "Item" : { "@Key" : "DefaultID", "@Value" : "" } }, "Series" : { "Serie" : [ { "@Id" : "1", "DefaultID" : { "@Items" : "113.46752 " } }, { "@Id" : "2", "DefaultID" : { "@Items" : "153.72571 " } }, { "@Id" : "3", "DefaultID" : { "@Items" : "158.10008 " } }, { "@Id" : "4", "DefaultID" : { "@Items" : "91.68919 " } } ] } } }, "Scales" : { "Scale50" : { "@AutoCalculable" : "true", "@MinValue" : "91.68919", "@Items" : "#FFFF462C #FFEBAF36 #FFFFD900 #FFB1CA40 #FF6A8535", "@InactiveItem" : "#FFFFFFFF", "@LogarithmBase" : "2.00000", "@MaxValue" : "158.10008", "@Mode" : "Uniform", "@EnableEquality" : "false", "@IsConstant" : "false", "@RoundBias" : "0.00000", "@NoData" : "#FFEBEBEB", "@TypeArguments" : "Brush", "@Id" : "Scale50" } }, "SettingsProvider" : { "ItemsToolTipStyle" : { "@ToolTipText" : "{%Name}: {%ColorValue}", "@NoDataText" : "no data" }, "IntervalsLegendStyle" : { "@LessFormat" : "less than {0}", "@EqualFormat" : "equal to {0}", "@BetweenFormat" : "from {0} to {1}", "@GreaterFormat" : "greater than {0}", "@NoDataText" : "no data" }, "SizeLegendStyle" : { "@MinValueFormat" : "{0}", "@MaxValueFormat" : "{0}" } } } }, "style" : { "@key" : "4294967295", "@sheetType" : "0" }, "predefinedStyles" : { "predefinedStyleCount" : "1" }, "predefinedStyle" : { "predefinedStyleIndex" : "-1" } } } }
public static GetBubbleTreeResult GetBubbleTreeInfo(EaxId moniker)
{
var somClient = new SomPortTypeClient(); // Proxy object for operation execution
// Operation execution parameters
var tGet = new GetBubbleTree()
{
tArg = new GetBubbleTreeArg()
{
pattern = new BubbleTreeMdPattern()
{
all = true
}
},
tBubbleTree = new BubbleTreeId() { id = moniker.id + "!BubbleTree" }
};
// Get bubble tree settings
var result = somClient.GetBubbleTree(tGet);
return result;
}
See also: