CN107544820A - Diagrammatic representation method and device - Google Patents
Diagrammatic representation method and device Download PDFInfo
- Publication number
- CN107544820A CN107544820A CN201610505667.6A CN201610505667A CN107544820A CN 107544820 A CN107544820 A CN 107544820A CN 201610505667 A CN201610505667 A CN 201610505667A CN 107544820 A CN107544820 A CN 107544820A
- Authority
- CN
- China
- Prior art keywords
- chart
- functional block
- function
- data type
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a kind of diagrammatic representation method, this method includes:If detecting the instruction being shown using the chart of specified type, modular chart control corresponding to the specified type is called, and the chart control based on calling shows initial chart;If detecting function addition instruction, the functional block set for instructing and searching the chart control and can loading is added based on the function, determines functional block to be loaded;Load the functional block, enabling the bandwagon effect of the initial chart is adjusted using the functional block of loading.The invention also discloses a kind of diagrammatic representation device, by by chart control modularization, enabling add functional block based on demand, effectively improve the scalability of chart control, and disclosure satisfy that the use demand of user.
Description
Technical field
The present invention relates to field of computer technology, more particularly to a kind of diagrammatic representation method and device.
Background technology
At present, under the scene such as Asset Allocation and budget allocation, it will usually shown specifically using the mode of diagrammatic representation
Configuration Type and allocation proportion, and user also has the demand of modification Configuration Type and allocation proportion, wherein, diagrammatic representation is main
It can be shown by forms such as column diagram, pie chart, sector diagram, bar chart, line charts.
Currently when using diagrammatic representation, it usually needs chart control is called, yet with the chart control used at present
Interface parameters be fixed, the function that causing the chart control can realize is also fixed, and scalability is low, Wu Faman
The use demand of sufficient user.
The above is only used for auxiliary and understands technical scheme, does not represent and recognizes that the above is existing skill
Art.
The content of the invention
It is a primary object of the present invention to provide a kind of diagrammatic representation method and device, it is intended to solve chart in the prior art
The function that control can be realized is fixed, and scalability is low, can not meet the technical problem of the use demand of user.
To achieve the above object, a kind of diagrammatic representation method provided by the invention, methods described include:
If detecting the instruction being shown using the chart of specified type, module corresponding to the specified type is called
The chart control of change, and the chart control based on calling shows initial chart;
If detecting function addition instruction, the work(for instructing and searching the chart control and can loading is added based on the function
Energy set of blocks, determines functional block to be loaded;
Load the functional block, enabling the bandwagon effect of the initial chart is entered using the functional block of loading
Row adjustment.
Preferably, methods described also includes:
If detecting, function deletes instruction, and the work(for instructing and searching the chart control and having loaded is deleted based on the function
Can block;
Delete the functional block found.
Preferably, methods described also includes:
If detecting data type adjustment operation, the functional block with data type adjustment function is called, based on described
Data type adjustment operation increases data type in the initial chart or reduces data type, the target after being adjusted
The data type that chart is included, and show the object diagram.
Preferably, methods described also includes:
If detecting ratio data adjustment operation, the functional block with ratio data adjustment function is called, based on described
The ratio value of data type in initial chart described in ratio data adjustment operation adjustment, each number in the object diagram after being adjusted
According to the ratio value of type, and show the object diagram.
Preferably, the ratio data adjustment operation includes:Ratio value input operation or ratio value drag operation.
In order to solve the above technical problems, invention additionally discloses a kind of diagrammatic representation device, described device includes:
Display module is called, if the instruction that the chart for detecting using specified type is shown, described in calling
Modular chart control corresponding to specified type, and the chart control based on calling shows initial chart;
First searching modul, if for detecting function addition instruction, added based on the function described in instruction lookup
The functional block set that chart control can load, determine functional block to be loaded;
Load-on module, for loading the functional block, enabling using the functional block of loading to the initial graph
The bandwagon effect of table is adjusted.
Preferably, described device also includes:
Second searching modul, if for detecting that function deletes instruction, deleted based on the function described in instruction lookup
The functional block that chart control has loaded;
Removing module, for deleting the functional block found.
Preferably, described device also includes:
Type adjusting module, if for detecting data type adjustment operation, calling has data type adjustment function
Functional block, increase in the initial chart data type based on data type adjustment operation or reduce data class
Type, the data type that the object diagram after being adjusted is included, and show the object diagram.
Preferably, described device also includes:
Ratio data adjusting module, if for detecting ratio data adjustment operation, calling has ratio data adjustment
The functional block of function, based on the ratio value of data type in initial chart described in ratio data adjustment operation adjustment, obtain
The ratio value of each data type in object diagram after adjustment, and show the object diagram.
Preferably, the ratio data adjustment operation includes:Ratio value input operation or ratio value drag operation.
The present invention provides a kind of diagrammatic representation method, in the method, is carried out if detecting using the chart of specified type
The instruction of displaying, then chart control corresponding to the specified type is called, and the chart control based on calling shows initial chart, its
In, the chart control is modular chart control, if detecting function addition instruction, is looked into based on function addition instruction
The functional block set for looking for the chart control to load, functional block to be loaded is determined, and load the functional block, enabling used
The functional block is adjusted to the bandwagon effect of initial chart.By by chart control modularization, enabling added based on demand
Add functional block, effectively improve the scalability of chart control, and disclosure satisfy that the use demand of user.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of diagrammatic representation method in first embodiment of the invention;
Fig. 2 is the schematic flow sheet of additional step in first embodiment shown in the present invention;
Fig. 3 is the structural representation of diagrammatic representation device in second embodiment of the invention;
Fig. 4 is the structural representation of diagrammatic representation device in third embodiment of the invention.
The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Because in the prior art, the function that chart control can be realized is fixed, and scalability is low, can not meet to use
The use demand at family.
To solve the above problems, the present invention proposes a kind of diagrammatic representation method, the chart control is modular chart control
Part, enabling effectively improve the scalability of chart control, and disclosure satisfy that the use demand of user.
Referring to Fig. 1, for the schematic flow sheet of diagrammatic representation method in first embodiment of the invention, this method includes:
If step 101, detecting the instruction being shown using the chart of specified type, the specified type pair is called
The modular chart control answered, and the chart control based on calling shows initial chart;
In embodiments of the present invention, chart has a variety of different displaying types, such as column diagram, pie chart, sector diagram, bar shaped
Figure, line chart etc..For different displaying types, the chart control of required calling, example when there is corresponding show respectively
Such as column diagram control, pie chart control, sector diagram control, bar chart control, line chart control, user are needing to carry out data
During displaying, the chart control corresponding to the chart of any one above-mentioned type can be called to be shown.
Wherein, above-mentioned chart control is modular chart control, i.e. and each function corresponds to One function block,
And between each functional block independently of each other, user can be based on needing functional block being loaded into the chart control so that the figure
Table control has the function corresponding to the functional block, can also be when that need not use some function, by work(corresponding to the function
Energy block is deleted from chart control so that the chart control does not possess the function, and therefore, modular chart control has good
Scalability.
In embodiments of the present invention, above-mentioned method can be by diagrammatic representation device (hereinafter referred to as:Device) realize, user
When needing displaying, the chart of specified type can be selected on interface, and the number for the chart for needing to show can be pre-entered
According to the ratio data of type and each data type, and after user verification, the chart generated to specified type is carried out
The instruction of displaying, the device will call this to specify class after the instruction that the chart detected using specified type is shown
Chart control corresponding to type, and the chart control based on the calling shows initial chart, wherein, it can be opened up in the initial chart
Show the ratio data of data type and every kind of data type.Such as:If the chart of the specified type is sector diagram, fanned calling
Shape figure control, and the initial chart of sector diagram control exposure is utilized, the initial chart is sector diagram.
It should be noted that the chart control in the embodiment of the present invention can be developed to obtain based on SVG polar plots.
If step 102, detecting function addition instruction, based on the function add instruction search the chart control can
The functional block set of loading, determine functional block to be loaded;
Step 103, the loading functional block, enabling use exhibition of the functional block of loading to the initial chart
Show that effect is adjusted.
In embodiments of the present invention, because chart control is modular, in order to reduce what is taken when chart control calls
Resource, the modular functional block included in initial chart control is simultaneously few, and is the functional block of some basic functions mostly,
Wherein, initial chart control refers to the basic chart control that exploitation obtains.And also include functional block set, the work(in device
The functional block that chart control can load can be included in set of blocks, user can add operation by the functional block collection by function
Functional block in conjunction is loaded onto in chart control, to meet the use demand of user.For example, being included in the functional block set to prop up
Hold the functional block of 3D bandwagon effects, and the functional block of filter animation effect.
When showing chart, the chart control that user calls can be initial chart control or user upper one
The secondary chart control used, and it is above-mentioned initial chart to call the chart initially shown after chart control.Due to user upper one
The secondary chart control used more meets the use demand of user, therefore, by way of calling the last chart control used
It can avoid being required for loading the functional block that some users commonly use when calling chart control every time, reduce user's operation, and pass through
The mode of memorizing use custom of user, more preferable usage experience can be provided the user.
In embodiments of the present invention, device is after the initial chart of chart control exposure is called, if in the chart control
And the function of being needed to use not comprising user, then user can click on the button of the loading functional block on interface, and device is being examined
After measuring the click action, by the title of all functional blocks in display function set of blocks, user can be selected based on title
Select, and after user completes selection, systematic function is added and instructed, device, will after function addition instruction is detected
Based on the title locating function set of blocks of the functional block included in function addition instruction, functional block to be loaded is determined.And fill
The functional block will be loaded by putting so that chart control has function corresponding to the functional block, and user can be by using the functional block
Realize the adjustment to the bandwagon effect of initial chart.
In embodiments of the present invention, if detecting the instruction being shown using the chart of specified type, this is called to refer to
Determine chart control corresponding to type, and the chart control based on calling shows initial chart, wherein, the chart control is modularization
Chart control, if detecting function addition instruction, instruction is added based on the function and searches the work(that can load of the chart control
Energy set of blocks, determines functional block to be loaded, and load the functional block, enabling use exhibition of the functional block to initial chart
Show that effect is adjusted.By by chart control modularization, enabling add functional block based on user's request, effectively improve figure
The scalability of table control, and disclosure satisfy that the use demand of user.
Based on first embodiment shown in Fig. 1, referring to Fig. 2, the addition step for first embodiment shown in Fig. 1 of the present invention
Schematic flow sheet, including:
If step 201, detecting that function deletes instruction, instruction is deleted based on the function and has searched the chart control
The functional block of loading;
The functional block that step 202, deletion are found.
Relative to first embodiment shown in Fig. 1, the addition step shown in Fig. 2 actually describes to delete from chart control
Except the process of functional block, and the step 201 can perform after step 101 is performed, i.e. the addition of functional block and deletion is mutual
Two mutually independent processes, and without the sequencing performed.
In embodiments of the present invention, if user needs to delete the function that some in the chart control called need not use,
Function on interface can then be clicked on and delete button, and device is after detecting that the function deletes button, will be in display interface
The title for the functional block loaded that upper display can delete, user can select specifically to need the title for the functional block deleted,
And after user selects, systematic function is deleted and instructed, device is deleted after detecting that the function is deleted based on the function
The functional block that the title look-up map control of the functional block included in instruction has loaded, and the functional block found is deleted, pass through
Aforesaid way, it can effectively realize the deletion of functional block.
Further, it is further comprising the steps of based on first embodiment shown in Fig. 1, above-mentioned diagrammatic representation method:
If detecting data type adjustment operation, the functional block with data type adjustment function is called, based on described
Data type adjustment operation increases data type in the initial chart or reduces data type, the target after being adjusted
The data type that chart is included, and show the object diagram.
In embodiments of the present invention, chart control has the function of adjustment data type, and the function can be in initial figure
It is loaded onto in table control or by way of functional block corresponding to loading in chart control.The function is mainly providing
Used under the scenes such as production configuration, budget allocation.
After initial chart is shown, if user needs to increase data type or reduction in the initial chart having shown that
During data type, adjustment trigger action can be performed, and selects to need increased data type and needs reduced data type,
If device detects data type adjustment operation, data type is increased in initial chart based on data type adjustment operation
Or data type, the data type that the object diagram after being adjusted is included are reduced, and show the object diagram so that energy
The bandwagon effect of chart after enough real time inspection adjustment.For example, initial chart Central Plains include tri- kinds of data types of A, B, C, use
Family needs to add a kind of data type D, then can adjust operation by above-mentioned data type is adjusted, by data type D
Be added in chart, and if the initial chart is sector diagram, be that addition belongs to data type D region in the sector diagram,
If the initial chart is column diagram, increase the bar shaped post for belonging to data type D in the column diagram.
In embodiments of the present invention, the data type in the chart of displaying can be adjusted through the above way, carried for user
For more preferable usage experience.
Further, it is further comprising the steps of based on first embodiment described in Fig. 1, above-mentioned diagrammatic representation method:
If detecting ratio data adjustment operation, the functional block with ratio data adjustment function is called, based on described
The ratio value of data type in initial chart described in ratio data adjustment operation adjustment, each number in the object diagram after being adjusted
According to the ratio value of type, and show the object diagram.
In embodiments of the present invention, chart control has the function of the ratio of adjustment data type, such as by data type A
Ratio adjusted from 10% to 15%.The function in initial chart control or can pass through work(corresponding to loading
The mode of energy block is loaded onto in chart control.The function mainly uses under the scenes such as Asset Allocation, budget allocation.
After initial chart is shown, if user needs to adjust some in the initial chart having shown that or multiple data class
The ratio of type, ratio data adjustment operation can be performed.Device will be based on the data when detecting ratio data adjustment operation
Scaling operation is adjusted to the ratio of the specified data type in initial chart, it is determined that in the object diagram that adjustment obtains
The ratio of each data type, and show the object diagram, enabling the bandwagon effect of the chart after real time inspection adjustment.
Wherein, above-mentioned ratio data adjustment operation can be ratio value input operation or ratio value drag operation.Ratio
Value input operation specifically includes:User's click needs region of the data type of adjustment ratio on interface, to recall data ratio
Example adjustment interface, and after ratio data adjustment interface is recalled, user can input specifically to be compared corresponding to the data type
Example value, and after the input operation of completed percentage value, ACK button is clicked on, with completed percentage value input operation.And device exists
After detecting the ratio value input operation, by the ratio of data type corresponding to the ratio value adjustment based on input, and tune is shown
Chart after whole.Wherein, ratio value drag operation specifically includes:For each data type, its show area in the graph
Comprising hiding engineer's scale in domain, after user's selection needs the data type of adjustment ratio, display interface will show the data
Engineer's scale corresponding to type, and the data type existing ratio value at present is shown on the engineer's scale, user can be by dragging
The mode of dynamic ratio value, change the ratio value of the data type, and during user drags, device will adjust the number in real time
According to the display of type in the graph, to coordinate the change of its ratio value.
In embodiments of the present invention, if being shown by sector diagram, then the remaining amount of the sector diagram can also be shown, led to
Cross the remaining amount and intuitively tell user's situation of remaining ratio value, be easy to user to carry out the ratio value of each data type
Adjustment.
User, if being unsatisfied with to the result after this adjustment, can also lead in the ratio value or data type of adjustment
Cross the display effect that the mode of a key rollback is returned to before this time adjusting.
It should be noted that after initial chart is shown, whenever data type and ratio value can be carried out
Adjustment.
In embodiments of the present invention, after corresponding functional block is loaded, can effectively realize ratio value adjustment and
The adjustment of data type, provide the user more preferable usage experience.
Referring to Fig. 3, for the structural representation of diagrammatic representation device in second embodiment of the invention, described device includes:
Display module 301 is called, if the instruction that the chart for detecting using specified type is shown, calls institute
Modular chart control corresponding to specified type is stated, and the chart control based on calling shows initial chart;
In embodiments of the present invention, chart has a variety of different displaying types, such as column diagram, pie chart, sector diagram, bar shaped
Figure, line chart etc..For different displaying types, the chart control of required calling, example when there is corresponding show respectively
Such as column diagram control, pie chart control, sector diagram control, bar chart control, line chart control, user are needing to carry out data
During displaying, the chart control corresponding to the chart of any one above-mentioned type can be called to be shown.
Wherein, above-mentioned chart control is modular chart control, i.e. and each function corresponds to One function block,
And between each functional block independently of each other, user can be based on needing functional block being loaded into the chart control so that the figure
Table control has the function corresponding to the functional block, can also be when that need not use some function, by work(corresponding to the function
Energy block is deleted from chart control so that the chart control does not possess the function, and therefore, modular chart control has good
Scalability.
In embodiments of the present invention, user can select the chart of specified type when needing displaying on interface, and can
To pre-enter the data type of chart for needing to show and the ratio data of each data type, and confirm it in user
Afterwards, the instruction being shown to the chart of specified type will be generated, the device is detecting the chart progress using specified type
After the instruction of displaying, display module 301 is called to call chart control corresponding to the specified type, and the figure based on the calling
The initial chart of table control exposure, wherein, can be with the data of display data type and every kind of data type ratio in the initial chart
Example.Such as:If the chart of the specified type is sector diagram, sector diagram control will be called, and utilize the sector diagram control exposure
Initial chart, the initial chart are sector diagram.
It should be noted that the chart control in the embodiment of the present invention can be developed to obtain based on SVG polar plots.
First searching modul 302, if for detecting function addition instruction, instruction is added based on the function and searches institute
The functional block set that chart control can load is stated, determines functional block to be loaded;
Load-on module 303, for loading the functional block, enabling using the functional block of loading to described initial
The bandwagon effect of chart is adjusted.
In embodiments of the present invention, because chart control is modular, in order to reduce what is taken when chart control calls
Resource, the modular functional block included in initial chart control is simultaneously few, and is the functional block of some basic functions mostly,
Wherein, initial chart control refers to the basic chart control that exploitation obtains.And also include functional block set, the work(in device
The functional block that chart control can load can be included in set of blocks, user can add operation by the functional block collection by function
Functional block in conjunction is loaded onto in chart control, to meet the use demand of user.For example, being included in the functional block set to prop up
Hold the functional block of 3D bandwagon effects, and the functional block of filter animation effect.
When showing chart, the chart control that user calls can be initial chart control or user upper one
The secondary chart control used, and it is above-mentioned initial chart to call the chart initially shown after chart control.Due to user upper one
The secondary chart control used more meets the use demand of user, therefore, by way of calling the last chart control used
It can avoid being required for loading the functional block that some users commonly use when calling chart control every time, reduce user's operation, and pass through
The mode of memorizing use custom of user, more preferable usage experience can be provided the user.
In embodiments of the present invention, device is after the initial chart of chart control exposure is called, if in the chart control
And the function of being needed to use not comprising user, then user can click on the button of the loading functional block on interface, and device is being examined
After measuring the click action, by the title of all functional blocks in display function set of blocks, user can be selected based on title
To select, and after user completes selection, systematic function is added and instructed, device is after function addition instruction is detected, the
The title locating function set of blocks for the functional block that one searching modul 302 is included in being instructed based on function addition, is determined to be added
The functional block of load.And load-on module 303 will load the functional block so that chart control has function corresponding to the functional block, uses
Family can realize the adjustment to the bandwagon effect of initial chart by using the functional block.
In embodiments of the present invention, if detecting the instruction being shown using the chart of specified type, displaying is called
Module 301 calls chart control corresponding to the specified type, and the chart control based on calling shows initial chart, wherein, should
Chart control is modular chart control, if detecting function addition instruction, the first searching modul 302 is added based on the function
Add instruction to search the functional block set that the chart control can load, determine functional block to be loaded, and loaded by load-on module 303
The functional block, enabling be adjusted using the functional block to the bandwagon effect of initial chart.By by chart control module
Change, enabling functional block is added based on user's request, effectively improves the scalability of chart control, and disclosure satisfy that user's
Use demand.
Based on second embodiment described in Fig. 3, referring to Fig. 4, the knot for diagrammatic representation device in third embodiment of the invention
Structure schematic diagram, the device include:Call display module 301, the first searching modul 302 and load-on module 303, and with shown in Fig. 3
Content described in second embodiment is similar, does not repeat herein.
In embodiments of the present invention, the device also includes:
Second searching modul 401, if for detecting that function deletes instruction, instruction is deleted based on the function and searches institute
State the functional block that chart control has loaded;
Removing module 402, for deleting the functional block found.
In embodiments of the present invention, if user needs to delete the function that some in the chart control called need not use,
Function on interface can then be clicked on and delete button, and device is after detecting that the function deletes button, will be in display interface
The title for the functional block loaded that upper display can delete, user can select specifically to need the title for the functional block deleted,
And after user selects, systematic function is deleted and instructed, device is after detecting that the function is deleted, the second searching modul
The functional block that the 401 title look-up map controls based on the functional block included in function deletion instruction have loaded, and by deleting
Module 402 deletes the functional block found, by the above-mentioned means, the deletion of functional block can be realized effectively.
Based on the device in second embodiment shown in Fig. 3, or the device in 3rd embodiment shown in Fig. 4, the device is also
Including:
Type adjusting module, if for detecting data type adjustment operation, calling has data type adjustment function
Functional block, increase in the initial chart data type based on data type adjustment operation or reduce data class
Type, the data type that the object diagram after being adjusted is included, and show the object diagram.
In embodiments of the present invention, chart control has the function of adjustment data type, and the function can be in initial figure
It is loaded onto in table control or by way of functional block corresponding to loading in chart control.The function is mainly providing
Used under the scenes such as production configuration, budget allocation.
After initial chart is shown, if user needs to increase data type or reduction in the initial chart having shown that
During data type, adjustment trigger action can be performed, and selects to need increased data type and needs reduced data type,
If device detects data type adjustment operation, type adjusting module calls the functional block with data type adjustment function,
Data type is increased in initial chart based on data type adjustment operation or reduces data type, the mesh after being adjusted
The data type that table of marking on a map is included, and show the object diagram, enabling the displaying effect of the chart after real time inspection adjustment
Fruit.For example, initial chart Central Plains includes tri- kinds of data types of A, B, C, user needs to add a kind of data type D, then can be with
Operation is adjusted by above-mentioned data type to be adjusted, data type D is added in chart, and if the initial chart is fan
Shape figure, then it is the region that addition belongs to data type D in the sector diagram, if the initial chart is column diagram, in the cylindricality
Increase belongs to data type D bar shaped post in figure.
In embodiments of the present invention, the data type in the chart of displaying can be adjusted by the above-mentioned type adjusting module,
Provide the user more preferable usage experience.
Based on the device in second embodiment shown in Fig. 3, or the device in 3rd embodiment shown in Fig. 4, the device is also
Including:
Ratio data adjusting module, if for detecting ratio data adjustment operation, calling has ratio data adjustment
The functional block of function, based on the ratio value of data type in initial chart described in ratio data adjustment operation adjustment, obtain
The ratio value of each data type in object diagram after adjustment, and show the object diagram.
In embodiments of the present invention, chart control has the function of the ratio of adjustment data type, such as by data type A
Ratio adjusted from 10% to 15%.The function in original chart control or can pass through work(corresponding to loading
The mode of energy block is loaded onto in chart control.The function mainly uses under the scenes such as Asset Allocation, budget allocation.
After initial chart is shown, if user needs to adjust some in the initial chart having shown that or multiple data class
The ratio of type, ratio data adjustment operation can be performed.Device is when detecting ratio data adjustment operation, ratio data adjustment
Module will call the functional block with ratio data adjustment function, based on ratio data adjustment operation to the finger in initial chart
The ratio for determining data type is adjusted, it is determined that adjusting the ratio of each data type in obtained object diagram, and shows the mesh
Mark on a map table, enabling the bandwagon effect of the chart after real time inspection adjustment.
Wherein, above-mentioned ratio data adjustment operation can be ratio value input operation or ratio value drag operation.Ratio
Value input operation specifically includes:User's click needs region of the data type of adjustment ratio on interface, to recall data ratio
Example adjustment interface, and after ratio data adjustment interface is recalled, user can input specifically to be compared corresponding to the data type
Example value, and after the input operation of completed percentage value, ACK button is clicked on, with completed percentage value input operation.And device exists
After detecting the ratio value input operation, by the ratio of data type corresponding to the ratio value adjustment based on input, and tune is shown
Chart after whole.Wherein, ratio value drag operation specifically includes:For each data type, its show area in the graph
Comprising hiding engineer's scale in domain, after user's selection needs the data type of adjustment ratio, display interface will show the data
Engineer's scale corresponding to type, and the data type existing ratio value at present is shown on the engineer's scale, user can be by dragging
The mode of dynamic ratio value, change the ratio value of the data type, and during user drags, device will adjust the number in real time
According to the display of type in the graph, to coordinate the change of its ratio value.
In embodiments of the present invention, if being shown by sector diagram, then the remaining amount of the sector diagram can also be shown, led to
Cross the remaining amount and intuitively tell user's situation of remaining ratio value, be easy to user to carry out the ratio value of each data type
Adjustment.
User, if being unsatisfied with to the result after this adjustment, can also lead in the ratio value or data type of adjustment
Cross the display effect that the mode of a key rollback is returned to before this time adjusting.
It should be noted that after initial chart is shown, whenever data type and ratio value can be carried out
Adjustment.
In embodiments of the present invention, after corresponding functional block is loaded, can effectively realize ratio value adjustment and
The adjustment of data type, provide the user more preferable usage experience.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on such understanding, technical scheme is substantially done to prior art in other words
Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal equipment (can be mobile phone, computer, clothes
Be engaged in device, air conditioner, or network equipment etc.) method that performs each embodiment of the present invention.
The preferred embodiments of the present invention are these are only, are not intended to limit the scope of the invention, it is every to utilize this hair
The equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills
Art field, is included within the scope of the present invention.
Claims (10)
- A kind of 1. diagrammatic representation method, it is characterised in that methods described includes:If detecting the instruction being shown using the chart of specified type, call modular corresponding to the specified type Chart control, and the chart control based on calling shows initial chart;If detecting function addition instruction, the functional block for instructing and searching the chart control and can loading is added based on the function Set, determines functional block to be loaded;Load the functional block, enabling the bandwagon effect of the initial chart is adjusted using the functional block of loading It is whole.
- 2. according to the method for claim 1, it is characterised in that methods described also includes:If detecting, function deletes instruction, and the function of instructing and search the chart control and loaded is deleted based on the function Block;Delete the functional block found.
- 3. method according to claim 1 or 2, it is characterised in that methods described also includes:If detecting data type adjustment operation, the functional block with data type adjustment function is called, based on the data Type adjustment operation increases data type in the initial chart or reduces data type, the object diagram after being adjusted Comprising data type, and show the object diagram.
- 4. method according to claim 1 or 2, it is characterised in that methods described also includes:If detecting ratio data adjustment operation, the functional block with ratio data adjustment function is called, based on the data The ratio value of data type in the scaling operation adjustment initial chart, each data class in the object diagram after being adjusted The ratio value of type, and show the object diagram.
- 5. according to the method for claim 4, it is characterised in that the ratio data adjustment operation includes:Ratio value inputs Operation or ratio value drag operation.
- 6. a kind of diagrammatic representation device, it is characterised in that described device includes:Display module is called, if the instruction that the chart for detecting using specified type is shown, calls described specify Modular chart control corresponding to type, and the chart control based on calling shows initial chart;First searching modul, if for detecting function addition instruction, instruction is added based on the function and searches the chart The functional block set that control can load, determine functional block to be loaded;Load-on module, for loading the functional block, enabling using the functional block of loading to the initial chart Bandwagon effect is adjusted.
- 7. device according to claim 6, it is characterised in that described device also includes:Second searching modul, if for detecting that function deletes instruction, instruction is deleted based on the function and searches the chart The functional block that control has loaded;Removing module, for deleting the functional block found.
- 8. the device according to claim 6 or 7, it is characterised in that described device also includes:Type adjusting module, if for detecting data type adjustment operation, call the work(with data type adjustment function Energy block, data type or reduction data type are increased in the initial chart based on data type adjustment operation, obtained The data type that object diagram after to adjustment is included, and show the object diagram.
- 9. the device according to claim 6 or 7, it is characterised in that described device also includes:Ratio data adjusting module, if for detecting ratio data adjustment operation, calling has ratio data adjustment function Functional block, based on the ratio value of data type in initial chart described in ratio data adjustment operation adjustment, be adjusted The ratio value of each data type in object diagram afterwards, and show the object diagram.
- 10. device according to claim 9, it is characterised in that the ratio data adjustment operation includes:Ratio value inputs Operation or ratio value drag operation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610505667.6A CN107544820A (en) | 2016-06-29 | 2016-06-29 | Diagrammatic representation method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610505667.6A CN107544820A (en) | 2016-06-29 | 2016-06-29 | Diagrammatic representation method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107544820A true CN107544820A (en) | 2018-01-05 |
Family
ID=60966334
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610505667.6A Pending CN107544820A (en) | 2016-06-29 | 2016-06-29 | Diagrammatic representation method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107544820A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108734581A (en) * | 2018-05-21 | 2018-11-02 | 深圳市富途网络科技有限公司 | Secondary figure methods of exhibiting and system more than a kind of quotations on the stock market chart based on mobile terminal |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1924800A (en) * | 2005-09-02 | 2007-03-07 | 北京灵图软件技术有限公司 | Control-based insert management system and method for secondary development platform |
CN101263484A (en) * | 2005-09-12 | 2008-09-10 | 微软公司 | Declaratively defined control actions |
CN103353836A (en) * | 2013-04-01 | 2013-10-16 | 深圳市东微智能科技有限公司 | Method for realizing functions of programmable reusable control |
CN105549888A (en) * | 2015-12-15 | 2016-05-04 | 芜湖美智空调设备有限公司 | Combined control generation method and device |
-
2016
- 2016-06-29 CN CN201610505667.6A patent/CN107544820A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1924800A (en) * | 2005-09-02 | 2007-03-07 | 北京灵图软件技术有限公司 | Control-based insert management system and method for secondary development platform |
CN101263484A (en) * | 2005-09-12 | 2008-09-10 | 微软公司 | Declaratively defined control actions |
CN103353836A (en) * | 2013-04-01 | 2013-10-16 | 深圳市东微智能科技有限公司 | Method for realizing functions of programmable reusable control |
CN105549888A (en) * | 2015-12-15 | 2016-05-04 | 芜湖美智空调设备有限公司 | Combined control generation method and device |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108734581A (en) * | 2018-05-21 | 2018-11-02 | 深圳市富途网络科技有限公司 | Secondary figure methods of exhibiting and system more than a kind of quotations on the stock market chart based on mobile terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108499103B (en) | Scene element display method and device | |
CN107908542A (en) | Test case creation method, apparatus, computer equipment and storage medium | |
US8977077B2 (en) | Techniques for presenting user adjustments to a digital image | |
CN104035715B (en) | Terminal control method and system based on touch-screen | |
CN105653281A (en) | Method and apparatus for capturing screen in mobile device | |
CN102800048A (en) | Electronic map scaling display method | |
CN106468984A (en) | A kind of method of item associations picture rapid preview and device | |
CN106550277A (en) | A kind of method and display device of loading barrage | |
CN109685092A (en) | Clustering method, equipment, storage medium and device based on big data | |
WO2015184736A1 (en) | Method and terminal for transforming background picture of touchscreen device | |
CN108255952A (en) | Data load method, device, storage medium and electronic equipment | |
CN112947923A (en) | Object editing method and device and electronic equipment | |
CN107015748A (en) | The layout method and device of a kind of customizing keyboard | |
CN104219561A (en) | Method and user equipment for cleaning offline videos | |
WO2023072061A1 (en) | Icon display control method and apparatus, electronic device, and storage medium | |
CN108389151A (en) | A kind of appraisal procedure and system excessively drawn | |
CN111932198B (en) | File auditing method and related products | |
US20070266307A1 (en) | Auto-layout of shapes | |
CN107544820A (en) | Diagrammatic representation method and device | |
CN105957133B (en) | A kind of method and apparatus for loading textures | |
CN110969240A (en) | Pruning method, device, equipment and medium for deep convolutional neural network | |
CN110955375A (en) | Game-based target object operation processing method and device and touch terminal | |
CN106569683A (en) | Method and equipment for performing batch processing of applications on mobile terminal | |
CN103678584B (en) | Application sort method and device based on application searches | |
CN103885664B (en) | Desktop file mapping method and desktop file mapping system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180105 |
|
RJ01 | Rejection of invention patent application after publication |