RBA Cash Rate: 4.35% · 1AUD = 0.67 USD · Inflation: 4.1%  
Leading Digital Marketing Experts</strong | 1300 235 433 | Aggregation Enquires Welcome | Book Appointment
Example Interest Rates: Home Loan Variable: 5.69% (5.89%*) • Home Loan Fixed: 5.39% (6.59%*) • Fixed: 5.39% (6.59%*) • Variable: 5.69% (5.89%*) • Investment IO: 5.69% (6.48%*) • Investment PI: 5.39% (6.59%*)

How to Show a Currency Conversion Graph on Your Website

The exchange rate graph return major currencies compared against the Australian dollar. It's not a particularly pretty chart but the colour values may be altered by way of shortcode (we've used very different bold colours to clearly differentiate one currency from another).

Inclusion is made with the shortcode of [bm_exchange]. The result:

Various attributes may alter the graph appearance.

  Shortcode Attributes

Various attributes alter the manner in which data is returned to a user.

fields

The currency values to return. Defaults to usd,nzd,sgd,cad,eur,gbp. Alter as required with a comma delimited string, such as fields="usd,nzd,cad".

frequency

Frequency is day, month, or week.[/sc].

points

The number of points to return in the graph. Shouldn't be used when a start or end time is provided.[/sc].

cache

The period of time to cache the resulting graph (stored as HTML via a simple caching tool made available in the BeliefMedia Core plugin. Defaults to 86400 (one day). Alter as required; for example cache="259200" (3 days).

start

If you would like to return data between specific dates you should use a start and end date. Use as follows: start="20200601" (1st June 2020). An 8 or 10-figure time group is accepted. Should be used with an end date.

end

If you would like to return data between specific dates you should use a start and end date. Use as follows: start="20200601" (1st June 2020). An 8 or 10-figure time group is accepted. Should be used with a start date.

width

The width of the graph. Defaults to 100%. Any width over 100 (width="600") will return that graph width in pixels.

height

The height of the graph. Defaults to 400px. Alter as required: height="450".

title

The graph title. Defaults to 'Exchange Rates (Measured Against Australian Dollar)' if the next attribute is set to true. Alter as required (title="This is another title).

title_display

The title will not show by default as it's expected you'll title the graph in context. Use title_display="1" to show.

legend

Show chart legend? Recommended. Use legend="0" to hide.

legend_color

The legend colour. Defaults to rgb(80, 80, 80). Use a 6-figure HEX value or RGB value.

title_padding_top

Padding above the title. Use as follows: title_padding_top="30".

title_padding_bottom

Padding below the title. Use as follows: title_padding_bottom="20".

line_border_width

The border width. Defaults to 1. Alter as required ine_border_width="3".

cpi_border_radius

The border radius. Defaults to 1. Alter as required ine_border_width="3".

line_border

The CPI border size. Defaults to 1. Alter as required line_border_width="3".

cache

The period of time to cache the resulting graph (stored as HTML via a simple caching tool made available in the BeliefMedia Core plugin. Defaults to 86400 (one day). Alter as required; for example cache="259200" (3 days).

  ImageCalc Currency Graphs

The graphing features made available to clients is quite extensive, and the ImageCalc API is introduced in an FAQ titled "How to Use the Image Mortgage Graph Shortcode and Elementor Block".

The standard RESTful response includes a single array with a key-value pair representing the X and Y axis. An additional attribute of full=true is available and will return various array formats that can easily be used in our own JavaScript graphing plugin, and Google Charts.

Example shortcode of [exchange_graph frequency="day" points="45" currency="usd"] will return the following graph:

Exchange Rate Graph

  Pictured: The graph shown is a static image. The chart is quite busy so our JavaScript graphing tools (above) are usually far more appropriate. The JS API returns a mouseover value when interacting with the X axis. However, the image graphs are faster-loading and more easily integrated into other dynamic applications (such as PDF documents).

A candlestick chart is usually more appropriate and tends to add a little colour to the graph; it shown the low and high for each rendered day.

Unlike some of our other image tools, the image is saved to a dedicated directory in our client plugin (identical graphs are sourced from your own archive while dynamic images are cached for a short period). In this way we don't fill up your WordPress media library with unnecessary graphs.

Shortcode attributes include the following:

frequency

The time interval between plots. May be 'day', 'week', or 'month'.

points

The number of data plots to show. In our example above 45 was a little too many for an image graph - around 30 seems to be suitable for a daily graph.

currency

The currency that is rendered in the graph (compared against the Australian Dollar). Defaults to USD. TO return multiple currencies in the same graph use currency="usd,nzd,cad".

start_date, end_date, and days

Used to return a graph with a range of values in a specific data range. The days attribute will always use a current end_date.

graph

Accepted attributes are line, bar, and candlestick. Determines the type of graph to return.

■ ■ ■

  Related Graphing FAQs

Related Graphing FAQs.

We archive about as much data as ASIC and other regulatory bodies or institutions make available. The API we make available to all clients by virtue of their assigned key provides access to a large number of resources and tools - most of which you will never use. The API itself is used to measure… [ Learn More ]

The Published versus Comparison Rate graph was created to support a single FAQ on 'What is a Comparison Rate', but the graph often finds value elsewhere. To include the graph on your page, use the shortcode of [comparison_interest_faq]. The Result:

The graph simply illustrates how the published rate is often vastly different to the… [ Learn More ]

This feature can largely be ignored. This was a feature introduced to support our managed article program, and a former plug-and-play Platinum graphing block is forthcoming. It is expected that you will not use this shortcode. It should be noted that shortcode is never a good way in which to create custom graphs as the… [ Learn More ]

The exchange rate graph return major currencies compared against the Australian dollar. It's not a particularly pretty chart but the colour values may be altered by way of shortcode (we've used very different bold colours to clearly differentiate one currency from another). Inclusion is made with the shortcode of [bm_exchange]. The result:

Various… [ Learn More ]

An RBA Cash Rate graph is shown by default on a page linked to in your header (image below), although the graph may be shown anywhere, and its presentation may be altered in a large number of ways.

Website RBA Graph

  Pictured:

An RBA Cash Rate graph is shown by default on a… [ Learn More ]

The 'ImageCalc' graphing tool was initially designed to easily integrated graphs into automatically generated PDF documents. It has since been used by brokers in their articles because of its ease of use. The most common methods of including the graphs into standard articles is with simple shortcode, while Elementor is the methods generally sued when… [ Learn More ]

  Related FAQs

BM FAQ Yabber Website

How to Create Website Backups in Yabber

Website backups are essential. Despite introducing policies that vastly reduce the likelihood of your website becoming compromised (such as out Plugin Review policy), it is

Share this FAQ

Share on Facebook
Share on Twitter
Share on Linkdin
Share on Pinterest

■ ■ ■

 
Download our complimentary 650-page guide on marketing for mortgage brokers. We'll show you exactly how we generate billions in volume for our clients.
Finance Guide, Cropped Top and Bottom
  Timezone: 1 · [ CHANGE ]