A method and device for automatic switching of multiple types of graphs
An automatic switching and multi-type technology, applied in the field of chart drawing, can solve the problems of complex switching programs, achieve good user experience, fast and simple switching of graphics types, and reduce development costs
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0045] A method for automatic switching of multiple types of charts, comprising the following steps:
[0046] S1. Extract the respective parameters of various 2.5D charts that need to be switched;
[0047] S2. Divide the parameters extracted in step S1 into common parameters and difference parameters;
[0048] S3. Encapsulate the public parameter part as a public module;
[0049] S4. Encapsulate the difference parameter part as a difference module, and the difference module corresponds to the type of chart one by one;
[0050] S5. Encapsulate the difference module and the common module into one UE component, and configure switching options for the UE component.
[0051]This solution uses the above method to integrate multiple 2.5D charts into one UE component, divide the parameters of multiple 2.5D charts into common parameters and differential parameters, and include a set of common parameter configurations and multiple sets of differential parameters in UE building Config...
Embodiment 2
[0053] The difference between this embodiment and Embodiment 1 is that the 2.5D chart includes at least two types of 2.5D pie chart, 2.5D ring chart, 2.5D rose chart, 2.5D columnar ring chart, and 2.5D fan-shaped ring chart.
[0054] Further, the public parameters include at least one of general configuration, prompt box, legend, and data label.
[0055] Further, the difference parameter includes at least one of visual style, inner radius size, outer radius size, ring block gap, and ring block thickness.
Embodiment 3
[0057] The difference between this embodiment and Embodiment 2 is that the step S4 encapsulates the difference parameter part as a difference module, and after the difference module corresponds to the chart type one by one, it also includes establishing the relationship between the parameters in each difference module.
[0058] Further, the relationship of parameters in each difference module includes at least one of a size relationship and a position relationship.
[0059] Since 2.5D charts are mainly used for data visualization display, try to ensure that the position and size of the chart do not change much when switching charts, otherwise you need to adjust other components of the data visualization interface, and set the size between parameters in the difference module The relationship with the position is to set the relationship between the size and position of the corresponding 2.5D charts, so that the controllability of chart switching is higher.
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


