|
Table of Contents
Overview
The Equity Style Box Barometer is a chart which displays the concentration of an
asset into the nine sections of the Morningstar Equity Style Box. The chart type
code for this chart is Getting Started
Locale (
|
Description | Image |
---|---|
Render the equity style box barometer using French-Canada locale (fr-CA )
|
locale=fr-CA
|
Render the equity style box barometer using Chinese-China locale (zh-CN )
|
locale=zh-CN
|
chcor
)This parameter allows you to control the colors of the equity style box barometer by specifying the colors that apply to specific numeric ranges.
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 equity style box barometer in shades of orange to match the fixed-income style box barometer. |
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.
|
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
|
chxl
)
If the chartversion is 1 (chvs=1
) there are no default axes defined
but you can define any number of axes (see Axis Types chxt
).
chxl=<axis_index_1>:<label_1>,...,<label_n>[|...|<axis_index_n>:<label_1>,...,<label_n>]
chxt
option.
Description | Image |
---|---|
Since chxt=r,x the first axis refers to the right one.
|
chxl=0:|bottom|1:|right
|
chxt
)
The chxt
option allows you to specify where labels are drawn.
chxt=<axis_1>,...,<axis_n>
Description | Image |
---|---|
Draw all labels twice |
chxt=x,x,t,t,y,y,r,r
|
chxs
)
You can control the style of individual axis labels by using the chxs
option.
chxs=<axis_index>,<label_color>,<font_size>,<alignment>,<tick>,<tick_color>,<opt_font_style> |...| <axis_index>,<label_color>,<font_size>,<alignment>,<tick>,<tick_color>,<opt_font_style>
Description | Image |
---|---|
Draw the right axis fat |
chxt=x,r
|
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 |
---|---|
Eliminate everything but the chart itself by setting all margins to 0. |
chmg=0,0,0,0
|
chm=N
)Only marker-type "N" (Data-value marker) is currently supported by the "Equity Style Box Barometer" chart.
You can use this to change the default presentation of the data values
Syntax
Specify the following parameters. If you do not assign markers to the data series, then it will use the default presentation of data values.
chm=<marker_type>,<color>,<series_index>,<opt_which_points>,<size>,<opt_z_order>,<opt_placement>
N<opt_format_string>
- The value of the data at this point, with optional formatting. N<preceding_text>*<number_type><decimal_places>zs<x
or y>*<following_text>
<preceding_text>
- Literal text to precede each value.*...*
- An optional block wrapped in literal asterisks,
in which you can specify formatting details for numbers. The following
values are supported, and are all optional:
<number_type>
- The number format, for numeric values. Choose one of the following:
f
- [Default] Floating point format.p
- Percentage format. A % sign is appended automatically.
k
- Thousand abbreviated number. The value will be divided by 1,000 before display.
<following_text>
or <preceding_text>
.m
- Million abbreviated number. The value will be divided by 1,000,000 before display.
<following_text>
or <preceding_text>
.e
- Scientific notation format.c<CUR>
- Format the number in the
currency specified, with the appropriate currency marker. Replace <CUR>
with
a three-letter currency code. Example: cEUR
for Euros.
You can find a list of codes on the ISO
web site, although not all symbols are supported.<decimal_places>
- An integer specifying
how many decimal places to show. The value is rounded (not truncated)
to this length. Default is 2.z
- Display trailing zeros. Default is no.s
- Display group separators. Default is no.x
or y
- This parameter is not currently supported - its content will be ignored.<following_text>
- Literal text to follow each value.Description | Image |
---|---|
Add data-value markers seperately for each value in the data-series. For each value we apply a different font-size, colour, placement(offset) and format-string(decimal places) |
chm=N*f0*,ff0000,,0,12,,-10:-10 chm=N*f1*,ffff00,,1,16 chm=N*f2*,0000ff,,2,20,,0:10 chm=N*f0*,ff0000,,3,12,,-10:-10 chm=N*f1*,ffff00,,4,16 chm=N*f2*,0000ff,,5,20,,0:10 chm=N*f0*,ff0000,,6,12,,-10:-10 chm=N*f1*,ffff00,,7,16 chm=N*f2*,0000ff,,8,20,,0:10 |