Dynamic skin changing method and device for chart following user interface and computer equipment
A user interface and computer program technology, applied in the direction of user interface execution, calculation, program control devices, etc., can solve problems such as unfriendly user experience, user misoperation, page operation and data loss, so as to improve user experience and avoid The effect of the refresh effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
specific example
[0063] Use the Watch method to monitor parameter changes. The specific example code is as follows:
[0064]
[0065]
[0066] S203, receiving new skin parameters, and re-rendering the chart.
[0067] It can be seen from the above code that if the watch detects that the style changes to darknightstyle, it will judge that the color code in the if will take effect, otherwise it will be the default color code. After the judgment is completed, the parameters are passed to the chart, and the chart is re-assigned by the setoption method, such as assigning the font color to lineFontColor='#D3D4D6', and the line color to lineLineColor='#616986', so as to achieve the purpose of changing the color of the chart.
[0068] The present invention uses the listener in Vue.js to write a set of judgment mechanism. When the interface skin is switched, the color of the chart also changes according to the change of the overall color of the skin. Replacement, so that the interface will not h...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com