Chart Component Subscription for Dynamic Data Visualization
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In data visualization, existing technologies require recreating charts when data changes across scenes or menus, leading to complex processes and poor effects due to lack of communication or interaction between charts and scenes.
Innovation Solution
A data processing device and method that uses a publish/subscribe model between an option group and chart components, allowing charts to dynamically update based on option selections without recreating charts, by establishing subscription relationships and binding data items to variables for real-time data mapping.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If charts are recreated when data changes across scenes or menus, then data visualization can be updated, but the process becomes complex and efficiency decreases
Solution Approach 1:
The chart components are pre-configured with subscription relationships to option groups before runtime. Data binding relationships are established in advance between chart data items and option group data items, so that when data changes occur, the pre-configured charts can automatically update without requiring recreation. This preliminary setup eliminates the need for complex chart recreation processes.
Solution Approach 2:
Chart components are designed to serve multiple scenes and menus simultaneously through subscription relationships. A single chart component can subscribe to multiple option groups, allowing it to automatically update across different scenes and menus when relevant data changes. This multi-functionality eliminates the need to create separate charts for each scene or menu, significantly improving efficiency.
2Reliability
If charts are recreated when data changes, then data updates can be reflected, but interaction between charts and scenes is poor
Solution Approach 1:
The system implements a feedback mechanism where chart components continuously monitor option groups they are subscribed to. When data in an option group changes, the chart component receives notification and automatically updates its display. This real-time feedback loop creates strong interaction between scenes and charts, making the system responsive and easy to operate without requiring manual chart recreation.
Solution Approach 2:
The patent introduces data binding as an intermediary mechanism that connects option groups and chart components. Through data binding, changes in option group data are automatically transmitted to subscribed chart components, which then update their visualizations. This intermediary mechanism simplifies the interaction process, making it easy to operate while ensuring reliable data update reflection.
Data Source
AI summary
A data processing device includes visualization component(s) of an option group and at least one chart component. The option group includes a first option and a second option. The at least one chart component has a subscription relationship with the first option of the option group. The at least one chart component is configured to display first chart(s) belonging to the at least one chart component in response to operation of selecting the first option. The at least one chart component has a subscription relationship with the second option of the option group. The at least one chart component is further configured to display second chart(s) belonging to the at least one chart component in response to operation of selecting the second option.


