Creating Bar Charts with ECharts
Understanding Bar Charts in ECharts
Bar charts, also known as column charts, visually represent data using rectangular bars whose lengths or heights are proportional to the values they represent. In ECharts, bar charts are configured by setting type: 'bar' in a series definition within the chart options.
Basic Configuration
A minimal bar chart ...
Posted on Sun, 13 Sep 2026 16:52:21 +0000 by sandgnat
Creating Dynamic Charts with Vue 2 and Echarts
Introduction to Vue 2 and Echarts Integration
This guide demonstrates how to integrate Echarts with Vue 2 to create dynamic data visualizations. Echarts is a powerful, open-source JavaScript charting library that can be seamlessly integrated into Vue applications.
Basic Chart Implementation
<template>
<div>
<div>Sample C ...
Posted on Mon, 24 Aug 2026 16:31:17 +0000 by kenchucky
Configuring Essential ECharts Features with Interactive Controls
An effective chart implementation often bundles standard configuration options such as legends, axes, toolboxes, and interactive controls. The following example demonstrates how to set up these features in ECharts, modularize the logic, and wire up UI-driven updates.
A complete ECharts opsion object lives in its own module. Notice how the legen ...
Posted on Sat, 22 Aug 2026 16:39:51 +0000 by maxholman
Real Estate Analytics Dashboard with Flask and Vue.js
This web application delivers an interactive real estate analytics platform for second-hand residential properties. It combines automated data acquisition, relational storage, statistical analysis, and responsive visualization to support market exploration and price estimation.
System Architecture
The solution follows a decoupled client-server ...
Posted on Wed, 19 Aug 2026 16:03:59 +0000 by Steve Angelis
Angular View Rendering Timing Issue with ECharts Initialization
While implementing a feature to display a line chart in an Angular application using ECharts, a common timing-related issue emerged due to the asynchronous nature of DOM updates.
The requirement was straightforward: upon clicking a button, a modal-like container should appear in the center of the screen, housing an ECharts-rendered line chart. ...
Posted on Sat, 15 Aug 2026 16:43:16 +0000 by shapiro125
ECharts-Based Dashboard Component Configuration
Static Component Integration
To add static visualization elements such as histograms, bar charts, line graphs, pie charts, or scatter plots, follow the standard procedure for extending graphical primitives. The source code already includes pre-built implementations for these common chart types.
Configuring Virtual Variables
For a histogram comp ...
Posted on Thu, 06 Aug 2026 16:00:39 +0000 by Daguse
Fetching SGE Gold Price Data with Python POST Requests
The exchange provides real-time market data including open/high/low/close prices and trading volumes via its official API endpoints. This structured data is crucial for market participants analyzing price trends and making investment decisions.
Data Acquisition Process
Identify the target API endpoint for historical price data
Construct POST r ...
Posted on Mon, 03 Aug 2026 16:18:45 +0000 by zemerick
Managing ECharts Resize Events in Loops with Closures
When dynamically generating multiple ECharts instances within a loop, ensuring they adapt smoothly to viewport changes requires careful event handling. A common issue arises where charts do not resize proportionally, which can be exacerbated by incorrect percentage calculations (e.g., distributing width evenly among five elements requires 20% r ...
Posted on Mon, 27 Jul 2026 16:15:06 +0000 by Copernicus
Building a Data Visualization Dashboard with Vue 3, Spring Boot, and ECharts
Prerequisites
This guide assumes you have already integrated ECharts into your project via npm. The official ECharts website offers various chart examples that you can customize as needed.
The final dashboard will look like the following:
Frontend Implementation
Define a container in the page to display the chart. The interaction between front ...
Posted on Sun, 12 Jul 2026 16:18:38 +0000 by TimUSA
Building a China COVID-19 Map with ECharts and Live Data
This article demonstrates how to create an interactive COVID-19 map of China using Apache ECharts. Two approaches are covered: fetching live data from the Tencent API and consuming server-side data (e.g., from a Java backend). The visual map uses piecewise coloring to reflect confirmed case ranges across provinces.
Approach 1: Fetching Live Dat ...
Posted on Tue, 23 Jun 2026 17:07:41 +0000 by Will Poulson