# thinkrank/1.0.0/src/admin/charts.js

ThinkRank AI SEO – AI SEO Plugin for WordPress: Schema, XML Sitemaps, Meta Tags, Search Console &amp; Local SEO, version 1.0.0. 39 lines.

- Page: https://pluginprobe.com/plugins/thinkrank/1.0.0/code/src/admin/charts.js
- Raw: https://pluginprobe.com/plugins/thinkrank/1.0.0/raw/src/admin/charts.js
- Modified: 2025-08-10T07:57:44+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/thinkrank/1.0.0/code/src/admin/charts.js#L10-L20`.

```javascript
/**
 * Chart.js Entry Point
 * 
 * Separate bundle for Chart.js library to optimize loading
 * Only loaded when performance charts are needed
 * 
 * @package ThinkRank
 * @since 1.0.0
 */

// Import and register Chart.js components
import {
    Chart as ChartJS,
    CategoryScale,
    LinearScale,
    PointElement,
    LineElement,
    Title,
    Tooltip,
    Filler
} from 'chart.js';

// Register Chart.js components globally
ChartJS.register(
    CategoryScale,
    LinearScale,
    PointElement,
    LineElement,
    Title,
    Tooltip,
    Filler
);

// Export Chart.js for use by other components
export { ChartJS };

// Make Chart.js available globally for WordPress compatibility
window.ThinkRankChartJS = ChartJS;

```
