Historical Charts for Goldback

描述

Historical Charts for Goldback is a versatile plugin that fetches and displays Goldback and UPMA exchange rate data from a remote XML API. It provides multiple shortcode-driven display options:
* Quote Card ([gbcharts_quote_card rate=”GB|UPMA|GOLD|SILVER”])
* A styled card showing the latest value, percentage gain/loss, and 1-week, 1-month, and 52-week highs and lows.
* Quote + Chart Combo ([gbcharts_quote_combo rate=”GB|UPMA|GOLD|SILVER”])
* Combines the quote card with an interactive line chart (1W, 1M, 1Y filters).
* Full-Width Chart ([gbcharts_graph_chart rate=”GB|UPMA|GOLD|SILVER”])
* A standalone Chart.js graph with time-range buttons (1W, 1M, 6M, 1Y, 5Y, ALL).
* Historical Data Table ([gbcharts_data_table rate=”GB|UPMA|GOLD|SILVER”])
* A paginated table of date, value, gain, and loss (default 20 rows per page; user-selectable 20, 50, 100, 365). Supports smooth scroll to top on page change.
* Everything is styled to match seamlessly with WordPress themes, and no manual data imports are required—updates pull directly from the live API.

Key Features:
* Live Exchange Rate Updates: Automatically pulls and displays the latest Goldback and UPMA rates from Ideal Managed Solutions’ API.
* Easy Shortcode Integration: Add desired shortcode(s) to any page, post, or widget to display the current quote, chart, of historical data.
* Lightweight & Efficient: Minimal performance impact, with a focus on fast, secure delivery of real-time data.
* Ideal for Precious Metals Dealers and Goldback Authorized Distributors: Keep your customers informed of the purchasing power of Goldbacks at a glance.

Use Cases:
* Display the current Goldback or UPMA exchange rate in a detailed stock quote stype quote card, with or without historical pricing chart on a retail or eCommerce website that accepts Goldbacks.
* Share real-time Goldback value with readers on an investment or financial blog.
* Promote education about voluntary local currencies through up-to-date price information.
* Support transparency and trust for customers using Goldback-backed pricing models.

Why Choose Goldback Charts?
* Designed with simplicity, security, and performance in mind.
* Helps businesses future-proof their operations by embracing new forms of value exchange.

Shortcodes

Documentation: https://docs.idealmanagedsolutions.com/docs-category/plugins/historical-charts-for-goldback/

Below are the available shortcodes and their attributes:

  • [gbcharts_quote_card rate=”GB|UPMA|GOLD|SILVER”] : Value-only quote card display.

  • [gbcharts_quote_combo rate=”GB|UPMA|GOLD|SILVER”] : Value quote card with embedded Chart.js line graph.

  • [gbcharts_graph_chart rate=”GB|UPMA|GOLD|SILVER”] : Full-width Chart.js graph with time-filter buttons.

  • [gbcharts_data_table rate=”GB|UPMA|GOLD|SILVER”] : Pagination-enabled HTML table with date, value, gain, and loss.

Third-Party Services Disclosure

The Historical Charts for Goldback plugin uses one external service for the purpose of retrieving up-to-date exchange rate data:

This plugin connects to an API to obtain the current Goldback and UPMA information, which is needed to show the exchange rate information in the included shortcodes. This API does not collect any information
about you or your users, it only provides the updated exchange information which this plugin uses to update the the information displayed via shortcodes. This API service is provided by
“Ideal Managed Solutions, LLC”. Terms of Use | Privacy Policy
The API can be directly viewed HERE
This endpoint is hosted by Ideal Managed Solutions, LLC and provides XML data used to populate quote cards and historical charts.

No other third-party services or external APIs are utilized. The plugin does not use any advertising, analytics, or user tracking services.
All JavaScript and CSS resources are loaded locally within the plugin. No personal information is collected, stored, or transmitted by this plugin, and no identifiable user data is shared with any
third-party entity.

External Libraries

This plugin includes the following third-party libraries:

  • Luxon – A modern JavaScript date/time library.
    Source: https://github.com/moment/luxon
    License: MIT

  • DataTables – A jQuery plugin for table rendering and filtering.
    Source: https://datatables.net/
    License: MIT

  • Chart.js – A JavaScript charting library for data visualization.
    Source: https://github.com/chartjs/Chart.js
    License: MIT

  • Chart.js Luxon Time Adapter – Enables Luxon date/time support in Chart.js time scale charts.
    Source: https://github.com/chartjs/chartjs-adapter-luxon
    License: MIT

Included Custom JavaScript Files

This plugin includes the following custom scripts:

  • chart-handler.js – Handles Chart.js rendering logic and dataset generation.
  • gbcharts-data-tables.js – Initializes and styles DataTables for displaying exchange rate history.
  • quote-chart.js – Supports chart-based quote card display and historical price overlays.

屏幕截图

  • Goldback Exchange Rate Quote Combo Card Example.
  • UPMA Exchange Rate Quote Combo Card Example.
  • Goldback Exchange Rate Quote Card Example – no graph.
  • UPMA Exchange Rate Quote Card Example – no graph.
  • Goldback Exchange Rate Historical Data Graph Example.
  • UPMA Exchange Rate Historical Data Graph Example.
  • Goldback and UPMA Exchange Rate Historical Data Tables.

安装

Upload the historical-charts-for-goldback folder to the /wp-content/plugins/ directory.

Activate the plugin through the ‘Plugins’ menu in WordPress.

Place any of the provided shortcodes into your posts or pages.

Ensure your theme or child theme enqueues Chart.js and jQuery (the plugin handles that automatically).

常见问题

Can I customize the chart colors?

Currently, the plugin defaults to gold lines and light gold fill. You can override via custom CSS targeting .gbcharts-graph-chart-container canvas or .gbcharts-price-chart.

Where does the data come from?

Data is pulled live from the Goldback/UPMA data API XML endpoint provided by Ideal Managed Solutions, LLC. No caching layer is used by default; for performance, consider a transient in your own theme/plugins.

评价

此插件暂无评价。

贡献者及开发者

「Historical Charts for Goldback」是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

1.2.1

Added error checking to sanitize XML from any hidden BOM which could break the XML parsing.

1.2 =
*Added historical data table shortcode with gain/loss columns and page-length selector.
*Improved smooth scroll on table pagination.
*Updated DataTables styling and length menu options.

1.1

Switched chart defaults to 1-month view and solid gold fill.

Fixed shortcode ID collisions to support multiple instances per page.

1.0

Initial release: quote cards, combo cards, and full-width charts with Chart.js filters.