| Search Locate Previous Next | Contents |
See: Properties (alphabetic list), Functions grouped by usage
Global Settings
RainPro lets you set the cycle of colours, line-styles, shading patterns, markers 3D effects and nib-weights used to draw each successive data series. These cycles should be set before you draw the first chart as they are used progressively by every chart you draw. If you have a set of similar charts in a trellis, the cycle will be reset to the beginning for each cell.
Setting styles for various chart elements
The style property defines the appearance of many of the chart objects. For more details, see:
Style summary of all style keywords
Barchart style styles which apply to barcharts
Cloud style styles which apply to cloud charts
Dial style styles which apply to dialcharts
Frequency style styles which apply to frequency plots
Stepchart style styles which apply to stepcharts
Linegraph style styles which apply to linegraphs
Polar style styles which apply to polar charts
Pie style styles which apply to piecharts
Response style styles which apply to response surfaces
Scatter style styles which apply to scatter plots
Table style styles which apply to table charts
Trace style styles which apply to trace charts
Min-Max style styles which apply to min-max plots
Boxplot style styles which apply to boxplots
Tower style styles which apply to tower charts
Frame Style applies to the chart frame
Trellis Style applies to a trellis of small charts
Xstyle, Ystyle and Zstyle to customise the chart axes
Hstyle and Kstyle to set up the heading and keys
Lstyle and Cstyle to set up the label and caption styles
Nstyle and Vstyle for the notes and value tags
Fstyle for the footnotes
Estyle for equations used in a model-fit
Setting up headings, footers and captions
Heading the main chart title, Subhead secondary title
Footnote footnote (at the bottom of the chart area)
Page labels labels for any hidden dimensions (at the top left of the chart area)
Xcaption, Ycaption and Zcaption titles for the axes
Values value tags at each data point and VFormat to set the format of default numeric tags
Key to add a legend for each data group and KeyFormat to set the format
Xlab,Ylab and Zlab to over-ride the default axis labels
XFormat,YFormat and ZFormat to set a format picture for the numbers and text
EquationFormat to provide a template for the fitted equation
DateFormat,TimeFormat to set a picture format for dates and times.
Locale control the language used to format dates and times
Setting fonts, colours etc for these
In RainPro, you set the font for any of these objects in the same way with an expression such as: ch.Set 'hfont' 'ti,14,red'. You can define your own short-codes if you wish with ch.DefineFont.
To set the fonts for any of the above, see:
Heading, Subhead, Caption, Key, Notes, Labels, Values.
You can also set the appearance (Colour, line-style, nib-weight) of any of the following:
Axes, Datum lines, Pie sectors, Grid lines, Contours, Warning zones, Boxes.
Visual aids
Hints to set hints on data-points
Tips to set tips on data-points
Href to set HTML jumps from data-points
Other Chart Properties
Setting the chart frame (equivalent to calling ch.New) as a property.
Defining a trellis (rectangular array) of miniatures
Setting the gutter between tiles in the trellis
Setting the position of the chart key relative to the chart area
Setting the attributes (colour, pattern, edge) of the key box
Setting X-axis, Y-axis and Z-axis ranges
Scaling the data for the X-axis, Y-axis and Z-axis
Setting a missing value to be ignored.
Setting the index origin for a generated X-axis.
Setting the class interval for frequency plots.
Setting top, bottom, left and right margins.
Setting all four margins in a single call.
Setting tick-mark intervals for the X-axis, Y-axis and Z-axis
Defining where the X-axis and Y-axis will cross one another
Defining a baseline for surface shading and barcharts
Over-riding the bar width for x-axis barcharts
Adjusting the exact position of the chart heading and any notes
Setting an alternative soft hyphen for wrapped text in notes
Setting the scaling factor for chart markers
Adding horizontal and vertical datum lines
Adding one or more horizontal and vertical zones
Setting the gap between bars and groups of bars/towers
Exploding and setting the sector radii of piecharts
Choosing the viewpoint and perspective distortion for 3D charts
Retaining the data array and chart type for use by ch.Run
Selecting, splitting, grouping and analysing data
Setting a data window to simplify switchover dates in timeseries plots.
Setting a where mask to show only selected data points.
Setting xvarxvar for scatter plots and cloud charts.
Setting a category var for scatter plots and grouped barcharts.
Forcing the category list for scatter plots and grouped barcharts.
Setting the tease value to pull apart scatter plots based on a category variable.
Setting a grouping var for barcharts and towers.
Forcing the group list to have the items you want in the right order.
Setting the grouping function (Sum, Count ...) to be used when aggregating data.
Adjusting the flexibility of a trend line (added with style Trend)
Setting the order of a fitted model (added with style modelfit)
Controlling runaway charts
Enforcing a maximum number of data items for bars
Enforcing a maximum number of data items for towercharts