ZRender Documentation
website·Indexed 30 days ago
https://ecomfe.github.io/A 2D drawing engine that provides multiple rendering methods including Canvas, SVG, and VML. It serves as the foundation for ECharts and includes a comprehensive API for managing instances, displayables, and bounding rectangles.
What's inside ZRender
- FECS is a front-end code style suite designed to enforce Baidu's front-end code specifications. It provides both linting (checking for violations) and fixing (automatic formatting) capabilities for HTML, CSS, Less, and JavaScript.
Overview of Asynchronous Module Definition (AMD)
AMD (Asynchronous Module Definition) is a specification for defining JavaScript modules such that the module and its dependencies can be loaded asynchronously. It is specifically designed for the browser environment to avoid performance issues, debugging difficulties, and cross-domain access problems associated with synchronous loading.
Key benefits include:
- Eliminates the need for numerous
<script>tags in HTML; a singlerequirecall can initialize the application. - Does not require a specialized web server or build tool for basic development (can run via
file://). - Simplifies bundling and optimization for production (e.g., deciding which modules to load initially vs. lazy-load).
- Eliminates the need for numerous
Overview of the FECS Front-End Code Style Suite
FECS is a suite of tools designed to enforce and fix code style based on Baidu's front-end code specifications. It provides both linting (checking) and fixing (formatting) capabilities across multiple web languages.Overview of the FECS Front-End Code Style Suite
FECS is a comprehensive front-end code style suite designed to enforce Baidu's front-end code specifications. It provides both linting (checking for violations) and fixing (automatic formatting) capabilities across multiple languages including HTML, CSS, Less, and JavaScript.Overview of FECS Front-End Code Style Suite
FECS is a suite of tools designed to enforce and fix code style based on Baidu's front-end code specifications. It supports linting (checking for violations) and fixing (automatically formatting) for HTML, CSS, Less, and JavaScript.Overview of FECS Frontend Code Style Suite
FECS is a frontend code style suite designed to enforce the Baidu Frontend Code Specifications. It provides tools for both linting (checking for specification violations) and fixing (automatically formatting) code across HTML, CSS, Less, and JavaScript.Overview of Saber Mobile Web Solution
Saber is a mobile Web solution designed for flexibility, efficiency, and maintainability. It covers the entire development lifecycle from JavaScript modules and CSS style libraries to development, debugging, and building. Key technical characteristics include:
- Modularity: Uses fine-grained module division following the AMD specification.
- Engineering: Integrated support for package management, debugging, and building, with seamless integration with the EDP (Engineering Development Platform).
- Performance: Includes built-in mechanisms to eliminate click delays and multi-dimensional performance optimizations from the module level to the platform level.
Overview of Asynchronous Module Definition (AMD)
AMD (Asynchronous Module Definition) is a specification for defining JavaScript modules such that the module and its dependencies can be loaded asynchronously. It is specifically designed for the browser environment to avoid performance and cross-domain issues associated with synchronous loading. It relies on two primary global variables:define(the entry point for module definition) andrequire(used for loading modules). To verify if adefinefunction follows the AMD specification, check for the existence of thedefine.amdproperty.Overview of FECS Front-End Code Style Suite
FECS is a suite of tools designed to enforce and fix code style based on Baidu's front-end code specifications. It supports checking (linting) and fixing (formatting) for HTML, CSS, Less, and JavaScript.Overview of Fontmin for font subsetting
Fontmin is a pure JavaScript implementation for font subsetting. It allows developers to create smaller font files by extracting only the necessary characters, which improves web font loading performance. Key capabilities include TTF subsetting, format conversion to EOT, WOFF, and SVG, and automatic CSS generation for the resulting fonts.Overview of ZRender graphic library
ZRender is a lightweight 2D graphic library that provides the underlying drawing capabilities for Apache ECharts.Overview of the FECS front-end code style suite
FECS is a suite of tools designed to enforce and fix code style based on Baidu's front-end code specifications. It provides both linting (checking) and fixing (formatting) capabilities for HTML, CSS, Less, and JavaScript.