SetBubbleTreeResult SetBubbleTree(BubbleTreeId tBubbleTree, SetBubbleTreeArg tArg)
tBubbleTree. Bubble tree moniker.
tArg. Bubble tree settings change parameters.
The SetBubbleTree operation changes bubble tree settings.
To execute the operation, in the tBubbleTree field specify bubble tree moniker, and in the tArg.meta field specify updated settings to be applied. The moniker may be based on the express report moniker by the following rule: "Opened express report instance moniker"!BubbleTree".
The settings that can be changed and specified in the tArg.meta.md field can be obtained by means of the GetBubbleTree operation.
If after the change made it is required to get updated settings, specify the tArg.metaGet field.
Below is the example of using the SetBubbleTree operation to change bubble tree settings. The request contains bubble tree moniker and updated settings.
{
"SetBubbleTree" :
{
"tBubbleTree" :
{
"id" : "S1!M!S!E2!BubbleTree"
},
"tArg" :
{
"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}"
}
}
}
}
},
"metaGet" :
{
"metaData" : "true"
}
}
}
}
{
"SetBubbleTreeResult" :
{
"id" :
{
"id" : "S1!M!S!E2!BubbleTree"
},
"metaGet" :
{
"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}"
}
}
}
}
}
}
}
public static SetBubbleTreeResult SetBubbleTreeNewSettings(EaxId moniker, System.Xml.XmlElement settings)
{
var somClient = new SomPortTypeClient(); // Proxy object for operation execution
// Operation execution parameters
var tSet = new SetBubbleTree()
{
tArg = new SetBubbleTreeArg()
{
meta = new BubbleTreeMd()
{
//New bubble tree settings
md = settings
},
metaGet = new BubbleTreeMdPattern()
{
metaData = true
}
},
tBubbleTree = new BubbleTreeId() { id = moniker.id + "!BubbleTree" }
};
// Change bubble tree settings
var result = somClient.SetBubbleTree(tSet);
return result;
}
See also:
SOAP