Navigation:  Programmer's Reference > Sending data to DPlot from another application >

BarChartStyle macro command

Print this Topic Previous pageReturn to chapter overviewNext page

Macro commands may be used either in macros or by sending the commands to DPlot via dynamic data exchange (DDE). Some commands are valid only in macros (noted by Macros Only). Commands sent to DPlot via DDE must be enclosed by square brackets [     ]. Macro commands should not include the brackets.

Command parameters shown in the descriptions below are placeholders for the actual values. Command parameters are either numeric values, equations that evaluate to numbers, or character strings. Character string parameters are always bound by double quotation marks. Equations must be preceded by an equals sign (=).

The pipe symbol (|) in the command syntax indicates that a parameter is optional, and should not be included in your macro unless otherwise noted.

All indices into arrays are 1-based, e.g. Curve1=1 refers to the first curve in a plot.

A 0x prefix for numbers in the descriptions below indicates hexadecimal notation; e.g. 0x0010 = 16.

JR/Viewer indicates that the command is supported by DPlot Jr or DPlot Viewer.
JR/Viewer indicates that the command is NOT supported by DPlot Jr or DPlot Viewer.



JR   Viewer

Changes the appearance of bar charts. Flags is a combination of:

0x00000001Filled bars (Obsolete, though supported. See FillStyle)
0x00000002Stacked bars
0x00000004Draw bar amplitude labels
0x00000008Draw percentage labels
0x00000010Labels drawn outside (on top of) the bars
0x00000020For unevenly spaced X values, bars extend from X to the following X. Last point is ignored other than to provide the ending X of the last bar. Ignored if more than one data set is present.
0x00000040Percentage labels (if drawn) are a percentage of this bar's amplitude relative to all data sets. If not set, percentage is for the associated data set only.
0x00000080A different color is used for each bar. The color assigned to curve #1 (with the Colors command) is used for the first bar, and in general the color assigned to curve N is used for the Nth bar. This option is ignored if the bar chart has more than one data set.
0x00000100Base of bars is at minimum Y extent. If not set, base of bars will be at Y=0.
0x00000200Don't draw black border around filled bars.
0x00000400Draw border around extremes only. In other words, if bar width and group width (see below) are both set to 1.0, there will be no vertical lines between bars. Ignored if more than one data set is present. If set, 0x0200 bit (don't draw black border) is ignored.
0x00000800Shade bars as if they are cylindrical. Ignored unless the fill style is set to solid.
0x00001000Horizontal bars.

Combine flags options by adding them.


Page url: