Vue Dashboard Development: ECharts Composition API Wrapper
ECharts Configuration Hook Implementation
Core Configuration Functions
The implementation begins with utility functions that define default chart styling:
const createDefaultLegend = () => ({
bottom: 0,
left: 0,
orient: "vertical",
itemWidth: 8,
itemHeight: 8,
textStyle: {
color: "white",
},
});
const c ...
Posted on Sat, 13 Jun 2026 18:24:09 +0000 by tommychi
Building an Epidemic Data Visualization System with ECharts and JSP
This article describes how to create a web-based epidemic data visualization system that retrieves information from a database and displays it in both tabular and graphical formats. The implementation leverages ECharts for dynamic chart rendering and JSP for the web interface.
Key Implementation Challenges
1. Data Integration with ECharts Datas ...
Posted on Mon, 08 Jun 2026 18:20:26 +0000 by khjart
Creating Horizontal Bar Charts with Gradient Colors Using ECharts in Vue 2
Creating the Chart Container
First, establish a container element for the chart using a template ref:
<div class="chart-container" ref="chartRef"></div>
Initializing the Chart Instance
Retrieve the DOM element and insatntiate the ECharts instance:
let chartDom = this.$refs.chartRef;
this.chartInstance = echarts. ...
Posted on Sat, 23 May 2026 22:39:27 +0000 by dizzy1
Enhancing GeoJSON from Tianditu for ECharts Compatibility
Processinng Tianditu GeoJSON for ECharts Integration
When using GeoJSON data downloaded from Tianditu directly with ECharts 4+, certain properties like center coordinates, administrative levels, and adcodes may be missing. A Python script can merge these missing properties from a reference JSON file.
Python Processing Script
import json
def re ...
Posted on Wed, 13 May 2026 15:54:19 +0000 by tripc1
Vue 3 Project Setup and Core Integration Patterns
Project Initializasion and Dependencies
To establish a modern Vue 3 ecosystem, begin by scaffolding the application using Vite. Subsequently, install necessary libraries categorized by their usage environment:
Scaffolding: Initialize the project structure with Vue 3.
Development Dependencies: Install sass for stylesheet processing.
Runtime Dep ...
Posted on Mon, 11 May 2026 08:25:02 +0000 by Aimless
Implementing Global Request Logging in Spring Boot with ECharts Dashboard Integration
Database SchemaTable CreationCREATE TABLE `request_audit_log` (
`log_id` BIGINT NOT NULL AUTO_INCREMENT,
`created_at` DATETIME NOT NULL COMMENT 'Request timestamp',
`client_ip` VARCHAR(30) NOT NULL COMMENT 'Client IP address',
`api_category` VARCHAR(50) NOT NULL DEFAULT 'General' COMMENT 'API category',
`endpoint_url` VARCHAR(100) NOT ...
Posted on Fri, 08 May 2026 23:38:15 +0000 by Eskimo887
Building Interactive Graph Visualizations with go-echarts in Go
package main
import (
"os"
github.com/go-echarts/go-echarts/v2/charts"
github.com/go-echarts/go-echarts/v2/event"
github.com/go-echarts/go-echarts/v2/opts"
)
func main() {
// Initialize a new graph chart
g := charts.NewGraph()
// Define JavaScript handler for click events
clickHandler := opts.FuncOpts(`(para ...
Posted on Fri, 08 May 2026 12:24:24 +0000 by Monshery