apexcharts / apexcharts.js
📊 Interactive JavaScript Charts built on SVG
AI Architecture Analysis
This repository is indexed by RepoMind. By analyzing apexcharts/apexcharts.js in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.
Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context on-demand, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.
Repository Overview (README excerpt)
Crawler viewA modern JavaScript charting library that allows you to build interactive data visualizations with simple API and 100+ ready-to-use samples. Packed with the features that you expect, ApexCharts includes over a dozen chart types that deliver beautiful, responsive visualizations in your apps and dashboards. Download and Installation Installing via npm Direct <script> include Wrappers for Vue/React/Angular/Stencil Integrate easily with 3rd party frameworks • vue-apexcharts • react-apexcharts • ng-apexcharts - Plugin by Morris Janatzek • stencil-apexcharts Unofficial Wrappers Useful links to wrappers other than the popular frameworks mentioned above • apexcharter - Htmlwidget for ApexCharts • apexcharts.rb - Ruby wrapper for ApexCharts • larapex-charts - Laravel wrapper for ApexCharts • blazor-apexcharts - Blazor wrapper for ApexCharts demo • svelte-apexcharts - Svelte wrapper for ApexCharts Usage Client-Side (Browser) To create a basic bar chart with minimal configuration, write as follows: Server-Side Rendering (SSR) ApexCharts now supports SSR for Next.js, Nuxt, SvelteKit, Astro, and other meta-frameworks: This will render the following chart Tree-shaking — ship only what you use By default includes everything. If you want a smaller bundle, import from and add only the chart types and features you need: **Vite users:** Vite's dependency pre-bundler can create two separate copies of ApexCharts, causing errors even when the import is present. Fix this by listing all apexcharts sub-entries in : See tree-shaking for the full guide. A little more than the basic You can create a combination of different charts, sync them and give your desired look with unlimited possibilities. Below is an example of synchronized charts with github style. Interactivity Zoom, Pan, and Scroll through data. Make selections and load other charts using those selections. An example showing some interactivity Dynamic Series Update Another approach is to Drill down charts where one selection updates the data of other charts. An example of loading dynamic series into charts is shown below Annotations Annotations allow you to write custom text on specific values or on axes values. Valuable to expand the visual appeal of your chart and make it more informative. Mixed Charts You can combine more than one chart type to create a combo/mixed chart. Possible combinations can be line/area/column together in a single chart. Each chart type can have its own y-axis. Candlestick Use a candlestick chart (a common financial chart) to describe price changes of a security, derivative, or currency. The below image shows how you can use another chart as a brush/preview pane which acts as a handle to browse the main candlestick chart. Heatmaps Use Heatmaps to represent data through colors and shades. Frequently used with bigger data collections, they are valuable for recognizing patterns and areas of focus. Gauges The tiny gauges are an important part of a dashboard and are useful in displaying single-series data. A demo of these gauges: Sparklines Utilize sparklines to indicate trends in data, for example, occasional increments or declines, monetary cycles, or to feature the most extreme and least values: Need Advanced Data Grid for your next project? We partnered with Infragistics, creators of the fastest data grids on the planet! Ignite UI Grids can handle unlimited rows and columns of data while providing access to custom templates and real-time data updates. Featuring an intuitive API for easy theming and branding, you can quickly bind to data with minimal hand-on coding. The grid is available in most of your favorite frameworks: Angular Data Grid | React Data Grid | Blazor Data Grid | Web Components DataGrid | jQuery Data Grid What's included The download bundle includes the following files and directories providing a minified single file in the dist folder. Every asset including icon/css is bundled in the js itself to avoid loading multiple files. Development Install dependencies and run the project This will start the webpack watch and any changes you make to folder will auto-compile and output will be produced in the folder. More details in Contributing Guidelines. Minifying the src Where do I go next? Head over to the documentation section to read more about how to use different kinds of charts and explore all options. Contacts Email: info@apexcharts.com Twitter: @apexcharts Facebook: fb.com/apexcharts License ApexCharts is offered under a **dual-license model** to support individuals, startups, and commercial products of all sizes. Read full license agreements here: https://apexcharts.com/license