Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Chart cross-boundary interaction method and device in tab component, equipment and medium

An interactive method and chart technology, applied in the report field, can solve the problems that cannot be corrected automatically, it is difficult to determine the ownership of the chart container, and it is impossible to assign coordinates

Pending Publication Date: 2022-07-29
广州市易工品科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] Canvas and tab can be understood as different layers, both of which have their own coordinate system. When the reference object changes, it is difficult to determine the ownership of the container after the chart is moved. It is easy to cause when the reference object changes, if the movement cannot be determined The container ownership of the chart causes the moving chart to not be displayed
Because it does not belong to the contents of the canvas or tab, it cannot be assigned the corresponding coordinates. Moreover, when the chart is dragged into the canvas, if its container ownership cannot be determined, the coordinates cannot be automatically corrected when it exceeds the boundaries of the canvas.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Chart cross-boundary interaction method and device in tab component, equipment and medium
  • Chart cross-boundary interaction method and device in tab component, equipment and medium
  • Chart cross-boundary interaction method and device in tab component, equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0071] see figure 1 , figure 1 It is a schematic flowchart of a cross-border interaction method for charts in a tab component disclosed by an embodiment of the present invention. like figure 1 As shown, the cross-border interaction method of the chart in the tab component includes the following steps:

[0072] S110. Establish an X-Y coordinate system for the canvas and the tab respectively, and define the coordinates of the upper left corner of the canvas and the tab in the respective X-Y coordinate systems as the origin, and each X-Y coordinate system is positive from the origin to the right, and downward from the origin is positive. .

[0073] Please refer to figure 2 As shown, the tab is a chart component, which can be directly dragged into the canvas from the component library, or can be loaded with any chart other than itself, whether the chart is dragged from the canvas into the tab (in the present invention, the tab is the Refers to the tab component located in th...

Embodiment 2

[0117] see Figure 8 , Figure 8 It is a schematic structural diagram of a chart cross-border interaction device in a tab component disclosed in an embodiment of the present invention. like Figure 8 As shown, the chart cross-border interaction device in the tab component can include

[0118] The creation unit 210 is used to establish an X-Y coordinate system for the canvas and the tab respectively, and define the coordinates of the upper left corner of the canvas and the tab in the respective X-Y coordinate systems as the origin, and each X-Y coordinate system is a positive value from the origin to the right, from the origin to the Below is a positive value;

[0119] The definition unit 220 is used to define in the X-Y coordinate system of the canvas, the coordinates of the upper left corner of the tab and the target chart are (tx, ty), (x0, y0) respectively; defined in the X-Y coordinate system of the tab, the upper left corner of the target chart is The corner coordinat...

Embodiment 3

[0143] see Figure 9 , Figure 9 It is a schematic structural diagram of an electronic device disclosed in an embodiment of the present invention. like Figure 9 As shown, the electronic device may include:

[0144] a memory 310 storing executable program code;

[0145] a processor 320 coupled to the memory 310;

[0146] The processor 320 invokes the executable program code stored in the memory 310 to execute some or all of the steps in the cross-border interaction method for charts in a tab component in the first embodiment.

[0147] An embodiment of the present invention discloses a computer-readable storage medium, which stores a computer program, wherein the computer program causes a computer to execute some or all of the steps in the method for cross-border interaction of charts in a tab component in the first embodiment.

[0148] The embodiment of the present invention also discloses a computer program product, wherein when the computer program product runs on the c...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention relates to the technical field of reports, and discloses a chart cross-boundary interaction method and device in a tab component, equipment and a medium. The method comprises the following steps: respectively establishing an X-Y coordinate system for canvas and tab; defining an upper left corner coordinate of the tab and the target chart in an X-Y coordinate system of the canvas, and defining an upper left corner coordinate of the target chart in an X-Y coordinate system of the tab; dragging operation on the target chart is monitored, and when the target chart is dragged into the tab from the canvas, if a first set of conditions are met, it is judged that the whole target chart is dragged into the tab; and when the target chart is dragged into the canvas from the tab, if the second group of conditions are not met, judging that the whole target chart exceeds and is not in the tab. By implementing the embodiment of the invention, the final affiliation container of the chart can be determined through the conversion of the reference object, and meanwhile, when the chart is dragged into the canvas, the coordinate correction of the chart can be realized so as to ensure that the chart is located in the canvas.

Description

technical field [0001] The invention relates to the technical field of reports, in particular to a cross-border interaction method, device, device and medium of a chart in a tab component. Background technique [0002] In the process of reporting, the canvas and tab components are often used. The canvas is a container with its own border, and the chart (a form of report representation) in it can only move within its scope. [0003] A tab is a chart component that can: [0004] 1. Drag directly into the canvas from the component library; [0005] 2. Load any chart other than yourself (whether the chart in the canvas is dragged into the tab, or the chart in the component library is dragged into the tab); [0006] 3. Tab is also a container with its own border, and the chart inside can be moved within its scope or dragged to the canvas. [0007] Because both the canvas and the tab are containers, and the chart can be moved in the two containers, but the reference object will...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F3/0486G06F8/34
CPCG06F3/0486G06F8/34
Inventor 苏伟林戴建华芦金洁何兰兰万友先刘小军
Owner 广州市易工品科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products