Picture-Format Chart Conversion to Declarative Grammar for Semantic Analysis
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Data visualization charts in picture format lack flexibility for modifications and semantic analysis, requiring redrawn charts when data changes and limiting semantic analysis capabilities.
Innovation Solution
Convert data visualization charts to declarative grammars, using a vector database to determine matching feature vectors and corresponding grammars, enabling modifications and semantic analysis.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of operation
If data visualization charts are stored in picture format, then they can be displayed intuitively, but they cannot support modifications when chart data changes and cannot undergo semantic analysis
Solution Approach 1:
The patent creates a dual representation system where picture format charts and declarative grammar format charts coexist. The picture format chart serves as a visual copy for display, while the declarative grammar format chart serves as a structured copy for processing, modification, and semantic analysis. This copying approach allows both intuitive display and flexible processing without compromising either function.
Solution Approach 2:
The patent combines two different data representation formats (picture format and declarative grammar format) into a composite chart system. Each format contributes its unique strengths: picture format provides visual intuitiveness, while declarative grammar format provides structural flexibility and processability. This composite approach resolves the contradiction by leveraging the advantages of both formats simultaneously.
2Ease of operation
If data visualization charts are stored in picture format, then they can be displayed in documents, but they require redrawing with chart drawing tools when data changes
Solution Approach 1:
The patent maintains a declarative grammar format chart as a separate copy that can be easily modified when data changes. Instead of redrawing the picture format chart, the system updates the declarative grammar format chart, which then automatically regenerates the picture format chart. This copying mechanism eliminates the time-consuming redrawing process while preserving the visual display capability.
Solution Approach 2:
The patent performs preliminary conversion of chart data into declarative grammar format during the initial chart creation process. This preliminary action establishes a structured data representation that can be quickly updated later without requiring time-consuming redrawing operations, thus reducing the time loss when data changes occur.
3Ease of operation
If data visualization charts are stored in picture format, then they can be displayed visually, but semantic analysis cannot be performed on them
Solution Approach 1:
The patent creates a declarative grammar format chart as a structured copy that preserves semantic information in a machine-readable format. While the picture format chart maintains visual display capability, the declarative grammar format chart enables semantic analysis, data extraction, and other information processing operations without losing the visual representation benefits.
Data Source
AI summary
The present disclosure discloses a method for processing a data visualization chart, an electronic device and a storage medium. And the method for processing a data visualization chart includes: obtaining a to-be-processed data visualization chart in a picture format, and determining a first feature vector corresponding to the to-be-processed data visualization chart, wherein the first feature vector is the same as a feature vector of a declarative grammar corresponding to the to-be-processed data visualization chart. Further, a second feature vector having a matching degree with the first feature vector greater than a first threshold is determined from a vector database, where the vector database includes a plurality of feature vectors and a declarative grammar corresponding to each feature vector. A declarative grammar corresponding to the to-be-processed data visualization chart is determined based on the declarative grammar corresponding to the second feature vector.


