|
Table of Contents
Overview
This is a correlationmatrix Example
Chart Dimension
|
Description | Image |
---|---|
Create a 7x7 matrix. |
chdm=7x7
|
Create a 4x4 matrix |
chdm=4x4
|
chd
Fills the Cells of the matrix with Numbers.
There are two ways to parse data
chd=<value_1>[,...,<value_n>]
This way the matrix is filled line by line from left to right
chd=<line_1>,<value_1>[,...,value_k>][|...|<line_n>,<value_1>[,...,value_k>]]
This way the line specified is filled from left to right with the given values.
chxt
)
The chxt
option allows you to specify where axis labels are drawn.
chxt=<axis_1>,...,<axis_n>
Display the axis labels, using the following axis codes:
x
- X-Axis on the bottom of the chartt
- X-Axis on the top of the charty
- Y-Axis on the left of the chartr
- Y-Axis on the right of the chartDescription | Image |
---|---|
Draw all axis labels |
chxt=x,t,y,r
|
chxs
)
You can control the style of individual axis labels by using the chxs
option.
chxs=<axis_index>,<circle_color>,<opt_font_size> |...| <axis_index>,<circle_color>,<font_size>,-1,t,<opt_tick_color>,<opt_font_style>
Description | Image |
---|---|
Draw the right axis blue and make it slightly bigger and bold (FF0000 )
|
chxt=t,r
|
chxr
)
You can control the range of an axis by using the chxr
option.
chxr=<axis_1>,<range_start_1>,<range_end_1>,<opt_major_interval_1>,<opt_minor_interval_1> |...| <axis_n>,<range_start_n>,<range_end_n>,<opt_major_interval_n>,<opt_minor_interval_n>
Specify the axis, using the following axis codes:
x
- X-Axis on the bottom of the chartt
- X-Axis on the top of the charty
- Y-Axis on the left of the chartr
- Y-Axis on the right of the chartDescription | Image |
---|---|
Draw every 2nd Label in the top axis |
chxt=t,r
|
chcm
The chcm
option allows you to color the matrix.
chcm=<color_1>,<line_1>[,<first_column>[,<last_column>]][|...|<color_n>,<line_n>[,<first_column>[,<last_column>]]
If the parameter first_column ist not given, the entire line gets colored. If last_column is not given or 0, the entire row beginning with first_column gets colored
Description | Image |
---|---|
Render the first line of the matrix orange. |
chcm=EF6510,1
|
Render the first two cells in the first line orange and all cells in the second line from the third cell onwards violett |
chcm=EF6510,1,2|
|
chcor
, chdlp
)
This parameter allows you to control the colors of the matrix by specifying the
colors that apply to specific numeric ranges. This parameter is optional and if
given superseeds the chcm
color specifications. If chdlp is not specified
the barometer is not drawn, if it is anything but "b" an error is thrown.
A number that falls outside of any numeric ranges specified by this parameter will be rendered in a gray color.
chcor=<opt_lower_1>,<opt_upper_1>,<bg_color_1>,<opt_fg_color_1>
|...|
<opt_lower_n>,<opt_upper_n>,<bg_color_n>,<opt_fg_color_n>
Description | Image |
---|---|
Render the matrix in shades of orange to match the matrix. |
chcor=,10,FFDBC6|
|
Render values less than 10 with a dark gray (333333 ) background and
light gray (999999 ) foreground and render values greater than 10 with
a light gray (999999 ) background and a dark gray (333333 )
foreground. Show the Barometer.
|
chcor=,10,333333,999999|
|
chf
)The background color of the chart can be controlled using the chart fill option.
chf=<fill_type>,s,<color>
The part of the chart being filled. Specify one of the following values:
bg
- Background fillDescription | Image |
---|---|
Fill the chart background with pale grey (EFEFEF ).
|
chf=bg,s,EFEFEF
|
Fill the chart background with semi-transparent blue (0000FFCC ).
|
chf=bg,s,0000FFCC
|
chft
)The font used to render the chart can be specified using the chart font name option.
For raster (e.g. PNG) charts, only fonts which exist on the BPCharts server may be used. For vector (e.g. SVG) charts, the font does not need to exist on the BPCharts server but the client which renders the SVG must have the font installed.
chft=<font_name>
Description | Image |
---|---|
Render a PNG chart using the Times New Roman font. |
chft=Times New Roman
|
Render a SVG chart using the Morningstar 1 font. This will only be rendered correctly if the machine viewing this web page has the Morningstar 1 font installed. |
chft=Morningstar 1
|
chfts
)The size font used to render the chart can be specified using the chart font size option. The size of the chart elements, such as the legend, will be adjusted automatically.
For raster (e.g. PNG) charts, the chart font size is measured in pixels. For vector (e.g. SVG) charts, the chart font size is measured in points.
The default font size for raster charts is 11 pixels tall. The default font size for vector charts is 8 points tall.
chfts=<font_size>
Description | Image |
---|---|
Render a PNG chart using an 8-pixel tall font. |
chfts=8
|
Render a SVG chart using an 12-point tall font. |
chfts=12
|
chmg
)A chart's margins are defined as the area outside of the rendering of the chart data itself. The chart margin may include labels or legends.
By default, BPCharts automatically picks chart margins which fit the labels and legends.
chmg=<top>,<right>,<bottom>,<left>
Description | Image |
---|---|
Set the space to the borders to 20 |
chmg=20,20,20,20
|
chmg
)A chart's margins are defined as the area outside of the rendering of the chart data itself. The chart margin may include labels or legends.
By default, BPCharts automatically picks chart margins which fit the labels and legends.
locale=
Description | Image |
---|---|
Set locale to de-DE |
locale=de-DE
|