[VB] | Public Function addBarLayer2([ dataCombineMethod As Integer [, depth As Integer ]]) As BarLayer |
[C#] | public BarLayer addBarLayer2([ int dataCombineMethod [, int depth ]]); |
ChartDirector 5.1 (.NET Edition)
XYChart.addBarLayer2
Usage
[VB] | Public Function addBarLayer2([ dataCombineMethod As Integer [, depth As Integer ]]) As BarLayer |
[C#] | public BarLayer addBarLayer2([ int dataCombineMethod [, int depth ]]); |
Description
Constant | Value | Description |
---|---|---|
Side | 3 | The data sets are combined by plotting the bars side by side. |
Stack | 1 | The data sets are combined by stacking up the bar segments. |
Overlay | 0 | The data sets are combined similar to stacked bars. However, in Overlay, one data set is assumed to already include the other data set. For example, if the data sets are "average" and "peak", the "peak" cannot be stacked on top of "average", because the "peak" already contains "average". In the Overlay style, only "peak - average" is stacked on top of "average", and so the total bar length will be "peak". |
Percentage | 4 | The data sets are combined similar to stacked bars, except that the data in a bar are scaled so that they summed to 100. In other words, all stacked bars will be of the same length. A bar segment within a bar represents the percentage of the data item relative to sum of all the data items in the stacked bar. |
Arguments
Argument | Default | Description |
---|---|---|
dataCombineMethod | Side | The method to combine the data sets together in the bar layer. |
depth | 0 | The 3D depth of the bar layer. |
Return Value