ChartSerie GetChartSerie(SerieId tSerie)
tSerie. Chart series moniker.
The GetChartSerie operation gets chart series settings.
To execute the operation, in the tSerie field specify series moniker. The moniker can be created based on the chart moniker specified in the GetChart, SetChart, GetChartSeries operations. The moniker is created in one of the following formats:
Chart moniker!Series!Default. It is used to work with default chart series settings.
Chart moniker!Series!Series index. It is used to work with settings of the chart series with the specified index. Indexing starts from zero.
The operation results in the obtained chart series settings.
Below is the example of getting settings for series of the chart added to regular report sheet. The request contains series moniker. The response contains the obtained series settings.
{
"GetChartSerie" :
{
"tSerie" :
{
"id" : "S2!M!S!P1!Sheets!1!Objects!PrxChart1!Series!0"
}
}
}
{
"GetChartSerieResult" :
{
"type" : "8",
"name" : "",
"dil" : "1",
"asa" : "0",
"bd" :
{
"enabled" : "1",
"clr" : "#488DB1",
"s" : "0",
"w" : "0.25"
},
"imask" : "167903231"
}
}
public static ChartSerie GetChartSerie(string chartMoniker, uint serieNumber)
{
var somClient = new SomPortTypeClient(); // Proxy object for operation execution
// Operation execution parameters
var tGet = new GetChartSerie()
{
tSerie = new SerieId() { id = chartMoniker + "!Series!" + serieNumber }
};
// Get chart series settings
var result = somClient.GetChartSerie(tGet);
return result;
}
See also: