CN108062339A - The processing method and processing device of Visual Chart - Google Patents

The processing method and processing device of Visual Chart Download PDF

Info

Publication number
CN108062339A
CN108062339A CN201610987292.1A CN201610987292A CN108062339A CN 108062339 A CN108062339 A CN 108062339A CN 201610987292 A CN201610987292 A CN 201610987292A CN 108062339 A CN108062339 A CN 108062339A
Authority
CN
China
Prior art keywords
configuration
visual chart
chart
configuration information
generic
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.)
Granted
Application number
CN201610987292.1A
Other languages
Chinese (zh)
Other versions
CN108062339B (en
Inventor
兰浩青
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Gridsum Technology Co Ltd
Original Assignee
Beijing Gridsum Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Gridsum Technology Co Ltd filed Critical Beijing Gridsum Technology Co Ltd
Priority to CN201610987292.1A priority Critical patent/CN108062339B/en
Publication of CN108062339A publication Critical patent/CN108062339A/en
Application granted granted Critical
Publication of CN108062339B publication Critical patent/CN108062339B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9577Optimising the visualization of content, e.g. distillation of HTML documents

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Image Generation (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

This application discloses a kind of processing method and processing devices of Visual Chart.This method includes:Obtain the configuration information of Visual Chart on display interface;According to the configuration information of Visual Chart, determine corresponding first configuration converter, wherein, first configuration converter is used to the configuration information of Visual Chart being converted to general configuration information, general configuration information support renders different Visual Charts at corresponding generic configuration interface, supports to handle different Visual Charts on generic configuration interface;The configuration information of Visual Chart is converted to by general configuration information by the first configuration converter;The corresponding configuration interface of Visual Chart is rendered according to general configuration information, generation generic configuration interface;And displaying generic configuration interface.By the application, solve the problems, such as that the chart configuration in correlation technique for single chart storehouse does not possess versatility.

Description

The processing method and processing device of Visual Chart
Technical field
This application involves Website development technical field, in particular to the processing method and dress of a kind of Visual Chart It puts.
Background technology
Substantial amounts of chart can be used in the website of data visualization class, the drafting of these charts is usually all to pass through third party Chart storehouse is completed.During general Website development, a kind of chart storehouse only often can be selected, yet in some business Specific demand, advanced level user may draw a diagram with different chart storehouses, to obtain more friendly visual experience.So And the configuration of chart style may be only applicable for a kind of chart storehouse, loss of configuration is, it is necessary to volume when user selects other chart storehouses Outer another group of personalized config option of exploitation meets the configuration requirement of specific pattern Table storehouse.This can cause size of code in development process Steeply rise, and for the later stage code maintenance difficulty increase.If one group of general chart configuration can be constructed, and Different chart storehouses is can be applied to, not only reduces the development amount of chart configuration, additionally it is possible to meet the personalization of user Demand.For example, Baidu's figure is said and provides a set of data visualization scheme, it can be with a variety of figures of unrestricted choice in the system Table, can free edit chart data, and it is various in chart to change to provide the corresponding generic configuration interface of Visual Chart Pattern.Baidu's figure say system based entirely on Baidu come the echarts charts storehouse sent out, configuration item is designed directed entirely to echarts, Therefore Baidu's figure, which is said, has only used a kind of chart storehouse, disclosure satisfy that the demand of ordinary user.But for advanced level user, it is impossible to Other chart storehouses are independently selected, current configuration item is only applicable to echarts storehouses, it is impossible to be used in other chart storehouses.
Do not possess the problem of versatility for the chart configuration that single chart storehouse is directed in correlation technique, not yet propose at present Effective solution.
The content of the invention
The main purpose of the application is to provide a kind of processing method and processing device of Visual Chart, to solve correlation technique In for single chart storehouse chart configuration do not possess the problem of versatility.
To achieve these goals, according to the one side of the application, a kind of processing method of Visual Chart is provided. This method includes:Obtain the configuration information of Visual Chart on display interface;According to the configuration information of Visual Chart, definite pair The the first configuration converter answered, wherein, the first configuration converter is used to the configuration information of Visual Chart being converted to general match somebody with somebody Confidence ceases, and general configuration information support renders different Visual Charts at corresponding generic configuration interface, in generic configuration circle It supports to handle different Visual Charts on face;The configuration information of Visual Chart is turned by the first configuration converter It is changed to general configuration information;The corresponding configuration interface of Visual Chart is rendered according to general configuration information, generation is general Configuration interface;And displaying generic configuration interface.
Further, the configuration information of Visual Chart is converted to by general configuration information bag by the first configuration converter It includes:Determine the key assignments of each configuration item in the common template being pre-created;Travel through each configuration item in the common template being pre-created Key assignments is matched with the key assignments of each configuration item in the configuration information of Visual Chart;By the configuration of the Visual Chart matched The field information of configuration item is assigned to the configuration item in the corresponding common template being pre-created in information;It and will be after assignment Configuration information corresponding general configuration information of the common template as Visual Chart.
Further, after displaying generic configuration interface, this method further includes:Modification instruction is received, wherein, modification refers to Order is used to indicate modifies on generic configuration interface;It is modified according to modification instruction on generic configuration interface;And Preserve amended generic configuration.
Further, after amended generic configuration is preserved, this method further includes:From preset configuration converter storehouse Obtain the corresponding second configuration converter of amended generic configuration;Converter is configured by amended generic configuration by second Be converted to the configuration information of target Visual Chart;And according to the configuration information of target Visual Chart render generation target can Depending on changing chart.
Further, the configuration information of Visual Chart includes the style information of Visual Chart and the number of Visual Chart It is believed that breath, according to the configuration information of Visual Chart, determines that corresponding first configuration converter includes:According to Visual Chart The data message of style information and Visual Chart determines the corresponding chart storehouse of the configuration information of Visual Chart;And from default It configures and the corresponding first configuration converter in chart storehouse is obtained in converter storehouse.
To achieve these goals, according to the another aspect of the application, a kind of processing unit of Visual Chart is provided. The device includes:First acquisition unit, for obtaining the configuration information of Visual Chart on display interface;Determination unit is used for According to the configuration information of Visual Chart, corresponding first configuration converter is determined, wherein, the first configuration converter is used for can Configuration information depending on changing chart is converted to general configuration information, and general configuration information support renders different Visual Charts pair The generic configuration interface answered is supported to handle different Visual Charts on generic configuration interface;First converting unit, For the configuration information of Visual Chart to be converted to general configuration information by the first configuration converter;First generation unit, For being rendered according to general configuration information to the corresponding configuration interface of Visual Chart, generation generic configuration interface;And Display unit, for showing generic configuration interface.
Further, the first converting unit includes:First determining module, it is each in the common template being pre-created for determining The key assignments of configuration item;Matching module, for traveling through the key assignments and Visual Chart of each configuration item in the common template being pre-created Configuration information in the key assignments of each configuration item matched;Assignment module, for the Visual Chart matched to be matched somebody with somebody confidence The field information of configuration item is assigned to the configuration item in the corresponding common template being pre-created in breath;And second determine mould Block, for using the common template after assignment as the corresponding general configuration information of the configuration information of Visual Chart.
Further, which further includes:Receiving unit, for receiving modification instruction, wherein, in displaying generic configuration circle After face, modification instruction is used to indicate modifies on generic configuration interface;Unit is changed, for leading to according to modification instruction It is modified on configuration interface;And storage unit, for preserving amended generic configuration.
Further, which further includes:Second acquisition unit, after obtaining modification from preset configuration converter storehouse Generic configuration it is corresponding second configuration converter;Second converting unit, will be amended for passing through the second configuration converter Generic configuration is converted to the configuration information of target Visual Chart;And second generation unit, scheme for being visualized according to target The configuration information of table renders generation target Visual Chart.
Further, the configuration information of Visual Chart includes the style information of Visual Chart and the number of Visual Chart It is believed that breath, determination unit include:3rd determining module, for the style information and the number of Visual Chart according to Visual Chart It is believed that breath determines the corresponding chart storehouse of configuration information of Visual Chart;And acquisition module, for from preset configuration converter The corresponding first configuration converter in chart storehouse is obtained in storehouse.
By the application, using following steps:Obtain the configuration information of Visual Chart on display interface;According to visualization The configuration information of chart determines corresponding first configuration converter, wherein, the first configuration converter is used for Visual Chart Configuration information is converted to general configuration information, and general configuration information support renders different Visual Charts corresponding general match somebody with somebody Interface is put, supports to handle different Visual Charts on generic configuration interface;It can by the first configuration converter Configuration information depending on changing chart is converted to general configuration information;According to general configuration information to corresponding configuration circle of Visual Chart Face is rendered, generation generic configuration interface;And displaying generic configuration interface, it solves and single chart is directed in correlation technique The chart configuration in storehouse does not possess the problem of versatility.And then realize that chart configuration possesses versatility and can be applied to multiple charts Storehouse achievees the effect that improve user experience.
Description of the drawings
The attached drawing for forming the part of the application is used for providing further understanding of the present application, the schematic reality of the application Example and its explanation are applied for explaining the application, does not form the improper restriction to the application.In the accompanying drawings:
Fig. 1 is the flow chart according to the processing method of Visual Chart provided by the embodiments of the present application;And
Fig. 2 is the schematic diagram according to the processing unit of Visual Chart provided by the embodiments of the present application.
Specific embodiment
It should be noted that in the case where there is no conflict, the feature in embodiment and embodiment in the application can phase Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
In order to which those skilled in the art is made to more fully understand application scheme, below in conjunction in the embodiment of the present application The technical solution in the embodiment of the present application is clearly and completely described in attached drawing, it is clear that described embodiment is only The embodiment of the application part, instead of all the embodiments.Based on the embodiment in the application, ordinary skill people Member's all other embodiments obtained without making creative work should all belong to the model of the application protection It encloses.
It should be noted that term " first " in the description and claims of this application and above-mentioned attached drawing, " Two " etc. be the object for distinguishing similar, without being used to describe specific order or precedence.It should be appreciated that it so uses Data can exchange in the appropriate case, so as to embodiments herein described herein.In addition, term " comprising " and " tool Have " and their any deformation, it is intended that cover it is non-exclusive include, for example, containing series of steps or unit Process, method, system, product or equipment are not necessarily limited to those steps or unit clearly listed, but may include without clear It is listing to Chu or for the intrinsic other steps of these processes, method, product or equipment or unit.
For ease of description, below to the invention relates to part noun or term illustrate:
It renders, English is Render, and also some is referred to as coloring, but generally Shade is known as colouring, and Render is claimed To render.Because the two words of Render and Shade are two completely different concepts in three-dimensional software, although their work( It can be much like but different.Shade is a kind of displaying scheme, is generally present in the primary window of three-dimensional software and three-dimensional The line frame graph of model equally plays the role of auxiliary observation model.It is obvious that color mode is easier let us than wire frame mode Understand the structure of model, but its simply simple display, light and shade colouring is referred to as in digital picture.As Maya this In the advanced three-dimensional software of sample, simple lighting effects, hatching effect and surface texture effect can also be shown with Shade, Certainly, the coloring effect of high quality needs professional three dimensional graph display card to support, it can accelerate and optimize graphics The display of shape.But optimizing in any case, it can not all become the 3-D graphic shown the image of high quality, this is because Shade using a kind of real-time display technology, the rate limitation of hardware it can not feed back reflection in scene, folding in real time It penetrates and waits ray tracings effect.And we are often exported model or scene into image file, vision signal in practical work Or cinefilm, this just has to pass through Render programs.Render is that last procedure of CG is also finally to make your image symbol Close the stage of your 3D scenes.Software there are many rendering, such as:Each CG softwares carry rendering engine, also such as RenderMan Deng.After architectural design, cartoon making etc. are using the good model of software development, animation frames such as 3DSMAX, MAYA, by designed content Using software in itself or auxiliary software (such as:Lightscape, vray etc.) it is fabricated to the process of final effect figure or animation.
Visual configuration:The configuration interface that can be interacted by one, to charts such as graph, the cake charts in website Pattern carry out free configuration, the user for being ignorant of technology is allow not modify by way of edit code.
Generic configuration:Configuration item in the corresponding generic configuration interface of Visual Chart is that certain a kind of the general of chart is matched somebody with somebody It puts, it is unrelated with generating which kind of third-party class libraries used in chart in code.
According to an embodiment of the present application, a kind of processing method of Visual Chart is provided.
Fig. 1 is the flow chart according to the processing method of the Visual Chart of the embodiment of the present application.As shown in Figure 1, this method Comprise the following steps:
Step S101 obtains the configuration information of Visual Chart on display interface.
Display interface on show Visual Chart.It to be needed since there are users to the Visual Chart into edlin Demand, however each Visual Chart has a set of configuration item in itself, and Visual Chart itself is had recorded in the configuration item Style information and data message etc. information, the configuration are the configurations for chart storehouse currently in use, it is impossible to be directly applied to In generic configuration.Therefore it may cause user that can not carry out operation processing to the Visual Chart.In order to solve the technical problem, It obtains first on display interface, the configuration information of Visual Chart.Specifically, Visual Chart itself has been noted down in configuration information Style information and data message etc. information.The configuration information for obtaining Visual Chart on display interface has multiple technologies hand Section, for example, crawler technology, which may be employed, crawls configuration information of Visual Chart etc. on display interface, does not make in this application Concrete restriction.
Step S102 according to the configuration information of Visual Chart, determines corresponding first configuration converter, wherein, first Configuration converter is used to the configuration information of Visual Chart being converted to general configuration information, and general configuration information is supported to difference Visual Chart render corresponding generic configuration interface, support to carry out different Visual Chart on generic configuration interface Processing.
In order to enable any user can carry out operation processing to the Visual Chart, in this application, to visualization The individual cultivation of chart is converted to generic configuration, is supported on generic configuration interface to different Visual Charts Reason.Specifically, since the configuration in each chart storehouse is personalized, converter is also different.
Optionally, in the processing method of Visual Chart provided by the embodiments of the present application, Visual Chart matches somebody with somebody confidence Breath includes the style information of Visual Chart and the data message of Visual Chart, according to the configuration information of Visual Chart, really Fixed corresponding first configuration converter further includes:Amended generic configuration corresponding is obtained from preset configuration converter storehouse Two configuration converters;By the second configuration converter by amended generic configuration be converted to target Visual Chart with confidence Breath;And generation target Visual Chart is rendered according to the configuration information of target Visual Chart.
Since each Visual Chart has a set of configuration item in itself, Visual Chart itself is had recorded in the configuration item Style information and data message etc. information, the configuration are the configurations for chart storehouse currently in use, it is impossible to be directly applied to In generic configuration.Therefore, Visual Chart is determined according to the data message of the style information of Visual Chart and Visual Chart The corresponding chart storehouse of configuration information, the corresponding first configuration conversion in chart storehouse is then obtained from preset configuration converter storehouse Device.
The configuration information of Visual Chart is converted to general configuration information by step S103 by the first configuration converter.
The configuration information of Visual Chart is converted to by general configuration information by the first configuration converter of above-mentioned acquisition, So as to which the configuration in chart storehouse currently in use is converted to generic configuration.
Optionally, in the processing method of Visual Chart provided by the embodiments of the present application, the first configuration converter is passed through The configuration information of Visual Chart is converted to general configuration information includes:Determine each configuration item in the common template being pre-created Key assignments;Travel through in the common template that is pre-created each configuration item in the key assignments of each configuration item and the configuration information of Visual Chart Key assignments matched;The field information of configuration item in the configuration information of the Visual Chart matched is assigned to corresponding pre- Configuration item in the common template first created;And it is corresponded to the common template after assignment as the configuration information of Visual Chart General configuration information.
Specifically, there are a kind of mapping relations between individual cultivation and generic configuration, this mapping relations, which pass through, to be configured Key assignments match, by traveling through the key assignments of each configuration in generic configuration, search out corresponding configuration in individual cultivation , and then the value of individual cultivation is assigned to corresponding generic configuration item, realize the conversion of configuration.
Step S104 renders the corresponding configuration interface of Visual Chart according to general configuration information, and generation is general Configuration interface.
After configuration information is got, system carries out the corresponding configuration interface of Visual Chart according to general configuration information It renders, generation generic configuration interface.On the generic configuration interface, the configuration information of Visual Chart is intuitively shown Come.
Step S105, displaying generic configuration interface.
The generic configuration interface for rendering generation is shown, visualizes and adjusts for user.
Optionally, in the processing method of Visual Chart provided by the embodiments of the present application, at displaying generic configuration interface Afterwards, this method further includes:Modification instruction is received, wherein, modification instruction is used to indicate modifies on generic configuration interface; It is modified according to modification instruction on generic configuration interface;And preserve amended generic configuration.
When user carries out visualization adjustment, system receives the modification that instruction is modified on generic configuration interface and refers to Order, system are modified according to modification instruction on generic configuration interface, preserve amended generic configuration.
Optionally, it is amended general preserving in the processing method of Visual Chart provided by the embodiments of the present application After configuration, this method further includes:Corresponding second configuration of amended generic configuration is obtained from preset configuration converter storehouse Converter;Amended generic configuration is converted to the configuration information of target Visual Chart by the second configuration converter;With And generation target Visual Chart is rendered according to the configuration information of target Visual Chart.
After system modifies to General Purpose Interface, in order to amended Visual Chart is shown, it is necessary to from The corresponding second configuration converter of amended generic configuration is obtained in preset configuration converter storehouse;Pass through the second configuration converter Amended generic configuration is converted to the configuration information of target Visual Chart;Then matching somebody with somebody further according to target Visual Chart Confidence breath renders generation target Visual Chart.
Wherein, the configuration information of Visual Chart includes the style information of Visual Chart and the data letter of Visual Chart Breath according to the configuration information of Visual Chart, determines that corresponding first configuration converter includes:According to the pattern of Visual Chart The data message of information and Visual Chart determines the corresponding chart storehouse of the configuration information of Visual Chart;And from preset configuration The corresponding first configuration converter in chart storehouse is obtained in converter storehouse.
In order to determine the corresponding chart storehouse of the configuration information of Visual Chart, obtain Visual Chart style information and can Data message depending on changing chart, visualization figure is determined according to the data message of the style information of Visual Chart and Visual Chart Then the corresponding chart storehouse of configuration information of table obtains the corresponding first configuration conversion in chart storehouse from preset configuration converter storehouse Device.So that it is determined that the chart of Visual Chart can be configured the first configuration converter for being converted to generic configuration by going out.
The processing method of Visual Chart provided by the embodiments of the present application, by obtaining Visual Chart on display interface Configuration information;According to the configuration information of Visual Chart, corresponding first configuration converter is determined, wherein, the first configuration conversion Device is used to the configuration information of Visual Chart being converted to general configuration information, and general configuration information is supported to different visualizations Chart renders corresponding generic configuration interface, supports to handle different Visual Charts on generic configuration interface;It is logical It crosses the first configuration converter and the configuration information of Visual Chart is converted into general configuration information;It can according to general configuration information pair It is rendered depending on changing the corresponding configuration interface of chart, generation generic configuration interface;And displaying generic configuration interface, solve phase Chart configuration in the technology of pass for single chart storehouse does not possess the problem of versatility.And then realize that chart configuration possesses versatility Multiple chart storehouses are can be applied to, achieve the effect that improve user experience.
It should be noted that step shown in the flowchart of the accompanying drawings can be in such as a group of computer-executable instructions It is performed in computer system, although also, show logical order in flow charts, it in some cases, can be with not The order being same as herein performs shown or described step.
The embodiment of the present application additionally provides a kind of processing unit of Visual Chart, it is necessary to which explanation, the application are implemented The processing unit of the Visual Chart of example can be used for performing the processing for Visual Chart that the embodiment of the present application is provided Method.The processing unit of Visual Chart provided by the embodiments of the present application is introduced below.
Fig. 2 is the schematic diagram according to the processing unit of the Visual Chart of the embodiment of the present application.As shown in Fig. 2, the device Including:First acquisition unit 10, determination unit 20, converting unit 30, the first generation unit 40 and display unit 50.
Specifically, first acquisition unit 10, for obtaining the configuration information of Visual Chart on display interface.
Determination unit 20 for the configuration information according to Visual Chart, determines corresponding first configuration converter, In, the first configuration converter is used to the configuration information of Visual Chart being converted to general configuration information, general configuration information branch It holds and corresponding generic configuration interface is rendered to different Visual Charts, supported on generic configuration interface to different visualizations Chart is handled.
First converting unit 30 is converted to for passing through the first configuration converter by the configuration information of Visual Chart general Configuration information.
First generation unit 40, for carrying out wash with watercolours to the corresponding configuration interface of Visual Chart according to general configuration information Dye, generation generic configuration interface.
Display unit 50, for showing generic configuration interface.
The processing unit of Visual Chart provided by the embodiments of the present application obtains display interface by first acquisition unit 10 The configuration information of upper Visual Chart;Determination unit 20 determines corresponding first configuration according to the configuration information of Visual Chart Converter, wherein, the first configuration converter is used to the configuration information of Visual Chart being converted to general configuration information, general to match somebody with somebody It puts Informational support and corresponding generic configuration interface is rendered to different Visual Charts, supported on generic configuration interface to difference Visual Chart handled;First converting unit 30 is turned the configuration information of Visual Chart by the first configuration converter It is changed to general configuration information;First generation unit 40 carries out the corresponding configuration interface of Visual Chart according to general configuration information It renders, generation generic configuration interface;And display unit 50 shows generic configuration interface, solves in correlation technique for single The chart configuration in chart storehouse does not possess the problem of versatility.And then realize that chart configuration possesses versatility and can be applied to multiple figures Table storehouse achievees the effect that improve user experience.
Optionally, in the processing unit of Visual Chart provided by the embodiments of the present application, the first converting unit 30 includes: First determining module, for determining the key assignments of each configuration item in the common template being pre-created;Matching module, for traveling through in advance The key assignments of each configuration item is matched with the key assignments of each configuration item in the configuration information of Visual Chart in the common template of establishment; Assignment module, it is corresponding advance for the field information of configuration item in the configuration information of the Visual Chart matched to be assigned to Configuration item in the common template of establishment;And second determining module, for scheming the common template after assignment as visualization The corresponding general configuration information of configuration information of table.
Optionally, in the processing unit of Visual Chart provided by the embodiments of the present application, which further includes:It receives single Member, for receiving modification instruction, wherein, after displaying generic configuration interface, modification instruction is used to indicate in generic configuration circle It modifies on face;Unit is changed, for modifying according to modification instruction on generic configuration interface;And storage unit, For preserving amended generic configuration.
Optionally, in the processing unit of Visual Chart provided by the embodiments of the present application, which further includes:Second obtains Unit is taken, for after amended generic configuration is preserved, obtaining amended general match somebody with somebody from preset configuration converter storehouse Put corresponding second configuration converter;Second converting unit, for passing through the second configuration converter by amended generic configuration Be converted to the configuration information of target Visual Chart;And second generation unit, for the configuration according to target Visual Chart Information renders generation target Visual Chart.
Optionally, in the processing unit of Visual Chart provided by the embodiments of the present application, Visual Chart matches somebody with somebody confidence Breath includes the style information of Visual Chart and the data message of Visual Chart, and determination unit 20 includes:3rd determining module, The configuration information pair of Visual Chart is determined for the style information according to Visual Chart and the data message of Visual Chart The chart storehouse answered;And acquisition module, for obtaining the corresponding first configuration conversion in chart storehouse from preset configuration converter storehouse Device.
The processing unit of the Visual Chart includes processor and memory, and above-mentioned first acquisition unit 10 determines list Member 20, converting unit 30, the first generation unit 40 and display unit 50 etc. are used as program unit storage in memory, by It manages device and performs above procedure unit realization corresponding function stored in memory.Above-mentioned preset configuration may be stored in storage In device.
Comprising kernel in processor, gone in memory to transfer corresponding program unit by kernel.Kernel can set one Or more, handle Visual Chart by adjusting kernel parameter.
Memory may include computer-readable medium in volatile memory, random access memory (RAM) and/ Or the forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM), memory includes at least one deposit Store up chip.
Present invention also provides a kind of embodiment of computer program product, when being performed on data processing equipment, fitting In the program code for performing initialization there are as below methods step:Obtain the configuration information of Visual Chart on display interface;According to The configuration information of Visual Chart determines corresponding first configuration converter, wherein, the first configuration converter is used to visualize The configuration information of chart is converted to general configuration information, and general configuration information support renders different Visual Charts corresponding Generic configuration interface is supported to handle different Visual Charts on generic configuration interface;It is converted by the first configuration The configuration information of Visual Chart is converted to general configuration information by device;It is corresponding to Visual Chart according to general configuration information Configuration interface is rendered, generation generic configuration interface;And displaying generic configuration interface, it solves in correlation technique for single The chart configuration in one chart storehouse does not possess the problem of versatility.
It should be noted that for foregoing each method embodiment, in order to be briefly described, therefore it is all expressed as a series of Combination of actions, but those skilled in the art should know, the application and from the limitation of described sequence of movement because According to the application, some steps may be employed other orders or be carried out at the same time.Secondly, those skilled in the art should also know It knows, embodiment described in this description belongs to preferred embodiment, involved action and module not necessarily the application It is necessary.
In the above-described embodiments, all emphasize particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, it may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed device, it can be by another way It realizes.For example, the apparatus embodiments described above are merely exemplary, such as the division of the unit, it is only one kind Division of logic function, can there is an other dividing mode in actual implementation, such as multiple units or component can combine or can To be integrated into another system or some features can be ignored or does not perform.
The unit illustrated as separating component may or may not be physically separate, be shown as unit The component shown may or may not be physical location, you can be located at a place or can also be distributed to multiple In network element.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the application can be integrated in a processing unit, it can also That unit is individually physically present, can also two or more units integrate in a unit.Above-mentioned integrated list The form that hardware had both may be employed in member is realized, can also be realized in the form of SFU software functional unit.
Obviously, those skilled in the art should be understood that each module of above-mentioned the application or each step can be with general Computing device realize that they can concentrate on single computing device or be distributed in multiple computing devices and be formed Network on, optionally, they can be realized with the program code that computing device can perform, it is thus possible to which they are stored In the storage device by computing device come perform either they are fabricated to respectively each integrated circuit modules or by they In multiple modules or step be fabricated to single integrated circuit module to realize.In this way, the application be not restricted to it is any specific Hardware and software combines.
The foregoing is merely the preferred embodiments of the application, are not limited to the application, for those skilled in the art For member, the application can have various modifications and variations.All any modifications within spirit herein and principle, made, Equivalent substitution, improvement etc., should be included within the protection domain of the application.

Claims (10)

1. a kind of processing method of Visual Chart, which is characterized in that including:
Obtain the configuration information of Visual Chart on display interface;
According to the configuration information of the Visual Chart, corresponding first configuration converter is determined, wherein, first configuration turns Parallel operation is used to the configuration information of the Visual Chart being converted to general configuration information, and the general configuration information is supported to not Same Visual Chart renders corresponding generic configuration interface, is supported on the generic configuration interface to different visualization figures Table is handled;
The configuration information of the Visual Chart is converted to by general configuration information by the described first configuration converter;
The corresponding configuration interface of the Visual Chart is rendered according to the general configuration information, generates generic configuration circle Face;And
Show the generic configuration interface.
2. according to the method described in claim 1, it is characterized in that, the visualization is schemed by the described first configuration converter The configuration information of table, which is converted to general configuration information, to be included:
Determine the key assignments of each configuration item in the common template being pre-created;
It is each in the configuration information of the key assignments of each configuration item and the Visual Chart in the common template being pre-created described in traversal The key assignments of configuration item is matched;
The field information of configuration item in the configuration information of the Visual Chart matched is assigned to corresponding described advance Configuration item in the common template of establishment;And
Using the common template after assignment as the corresponding general configuration information of the configuration information of the Visual Chart.
3. according to the method described in claim 1, it is characterized in that, after the generic configuration interface is shown, the method It further includes:
Modification instruction is received, wherein, the modification instruction is used to indicate modifies on the generic configuration interface;
It is modified according to the modification instruction on the generic configuration interface;And
Preserve amended generic configuration.
4. according to the method described in claim 3, it is characterized in that, after amended generic configuration is preserved, the method It further includes:
The corresponding second configuration converter of the amended generic configuration is obtained from preset configuration converter storehouse;
By the described second configuration converter by the amended generic configuration be converted to target Visual Chart with confidence Breath;And
Generation target Visual Chart is rendered according to the configuration information of the target Visual Chart.
5. according to the method described in claim 1, it is characterized in that, the configuration information of the Visual Chart is including described visual Change the style information of chart and the data message of the Visual Chart, according to the configuration information of the Visual Chart, determine Corresponding first configuration converter, including:
The Visual Chart is determined according to the data message of the style information of the Visual Chart and the Visual Chart The corresponding chart storehouse of configuration information;And
The corresponding first configuration converter in the chart storehouse is obtained from preset configuration converter storehouse.
6. a kind of processing unit of Visual Chart, which is characterized in that including:
First acquisition unit, for obtaining the configuration information of Visual Chart on display interface;
Determination unit for the configuration information according to the Visual Chart, determines corresponding first configuration converter, wherein, The first configuration converter is used to the configuration information of the Visual Chart being converted to general configuration information, described general to match somebody with somebody It puts Informational support and corresponding generic configuration interface is rendered to different Visual Charts, the support pair on the generic configuration interface Different Visual Charts are handled;
First converting unit, for pass through the first configuration converter the configuration information of the Visual Chart is converted to it is logical Use configuration information;
First generation unit, for carrying out wash with watercolours to the corresponding configuration interface of the Visual Chart according to the general configuration information Dye, generation generic configuration interface;And
Display unit, for showing the generic configuration interface.
7. device according to claim 6, which is characterized in that first converting unit includes:
First determining module, for determining the key assignments of each configuration item in the common template being pre-created;
Matching module, for traveling through the key assignments of each configuration item and the Visual Chart in the common template being pre-created The key assignments of each configuration item is matched in configuration information;
Assignment module, for the field information of configuration item in the configuration information of the Visual Chart matched to be assigned to pair Configuration item in the common template being pre-created answered;And
Second determining module, for corresponding general using the common template after assignment as the configuration information of the Visual Chart Configuration information.
8. device according to claim 6, which is characterized in that described device further includes:
Receiving unit, for receiving modification instruction, wherein, after the generic configuration interface is shown, the modification instruction is used It modifies in instruction on the generic configuration interface;
Unit is changed, for modifying according to the modification instruction on the generic configuration interface;And
Storage unit, for preserving amended generic configuration.
9. device according to claim 8, which is characterized in that described device further includes:
Second acquisition unit is matched somebody with somebody for obtaining the amended generic configuration corresponding second from preset configuration converter storehouse Put converter;
Second converting unit, can for the amended generic configuration to be converted to target by the described second configuration converter Configuration information depending on changing chart;And
Second generation unit, for rendering generation target Visual Chart according to the configuration information of the target Visual Chart.
10. device according to claim 6, which is characterized in that the configuration information of the Visual Chart can including described in Depending on changing the style information of chart and the data message of the Visual Chart, the determination unit includes:
3rd determining module, the data message for the style information according to the Visual Chart and the Visual Chart are true The corresponding chart storehouse of configuration information of the fixed Visual Chart;And
Acquisition module, for obtaining the corresponding first configuration converter in the chart storehouse from preset configuration converter storehouse.
CN201610987292.1A 2016-11-09 2016-11-09 Processing method and device of visual chart Active CN108062339B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610987292.1A CN108062339B (en) 2016-11-09 2016-11-09 Processing method and device of visual chart

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610987292.1A CN108062339B (en) 2016-11-09 2016-11-09 Processing method and device of visual chart

Publications (2)

Publication Number Publication Date
CN108062339A true CN108062339A (en) 2018-05-22
CN108062339B CN108062339B (en) 2020-09-15

Family

ID=62137543

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610987292.1A Active CN108062339B (en) 2016-11-09 2016-11-09 Processing method and device of visual chart

Country Status (1)

Country Link
CN (1) CN108062339B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109656665A (en) * 2018-12-20 2019-04-19 成都四方伟业软件股份有限公司 A kind of visual presentation method of data, component and readable storage medium storing program for executing
CN111722895A (en) * 2019-03-21 2020-09-29 成都数天下科技有限公司 Rendering method of SPC chart in Power BI component
CN113407281A (en) * 2021-06-23 2021-09-17 重庆卡歌科技有限公司 Dynamic visual three-dimensional display method for new land and sea channel service based on data application

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103365659A (en) * 2013-07-10 2013-10-23 福建富士通信息软件有限公司 Method for realizing dynamic interface allocation
CN104978384A (en) * 2014-04-09 2015-10-14 香港城市大学 Cross Model Datum Access With Semantic Preservation For Universal Database
CN105630504A (en) * 2015-12-28 2016-06-01 武汉噢易云计算股份有限公司 Extjs based multi-form application code reusing method and system
WO2016133534A1 (en) * 2015-02-20 2016-08-25 Hewlett-Packard Development Company, L.P. An automatically invoked unified visualization interface

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103365659A (en) * 2013-07-10 2013-10-23 福建富士通信息软件有限公司 Method for realizing dynamic interface allocation
CN104978384A (en) * 2014-04-09 2015-10-14 香港城市大学 Cross Model Datum Access With Semantic Preservation For Universal Database
WO2016133534A1 (en) * 2015-02-20 2016-08-25 Hewlett-Packard Development Company, L.P. An automatically invoked unified visualization interface
CN105630504A (en) * 2015-12-28 2016-06-01 武汉噢易云计算股份有限公司 Extjs based multi-form application code reusing method and system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109656665A (en) * 2018-12-20 2019-04-19 成都四方伟业软件股份有限公司 A kind of visual presentation method of data, component and readable storage medium storing program for executing
CN111722895A (en) * 2019-03-21 2020-09-29 成都数天下科技有限公司 Rendering method of SPC chart in Power BI component
CN111722895B (en) * 2019-03-21 2024-01-12 成都数天下科技有限公司 SPC chart rendering method in Power BI component
CN113407281A (en) * 2021-06-23 2021-09-17 重庆卡歌科技有限公司 Dynamic visual three-dimensional display method for new land and sea channel service based on data application
CN113407281B (en) * 2021-06-23 2022-11-11 重庆卡歌科技有限公司 Dynamic visual three-dimensional display method for new land and sea channel service based on data application

Also Published As

Publication number Publication date
CN108062339B (en) 2020-09-15

Similar Documents

Publication Publication Date Title
CN108876931B (en) Three-dimensional object color adjustment method and device, computer equipment and computer readable storage medium
Sousa et al. A few good lines: Suggestive drawing of 3d models
JP7455161B2 (en) Line drawing automatic coloring program, line drawing automatic coloring device and graphical user interface program
CN110310222A (en) A kind of image Style Transfer method, apparatus, electronic equipment and storage medium
CN108062339A (en) The processing method and processing device of Visual Chart
CN110400254A (en) A kind of lipstick examination cosmetic method and device
CN112734633A (en) Virtual hair style replacing method, electronic equipment and storage medium
JP2023033496A (en) Information processing device, information processing program and information processing method
CN107317853A (en) Method, device and system for displaying dynamic effect of message popup window
WO2023093291A1 (en) Image processing method and apparatus, computer device, and computer program product
CN107369188A (en) The synthetic method and device of image
CN105488840B (en) A kind of information processing method and electronic equipment
CN111383320B (en) Virtual model processing method, device, equipment and storage medium
CN106296782B (en) A kind of text rendering method and text rendering device
CN104952093B (en) Virtual hair colouring methods and device
CN109448088A (en) Method and device for rendering three-dimensional graphic wire frame, computer equipment and storage medium
CN105551011B (en) A kind of setting method and device of dominant hue
CN113763526A (en) Hair highlight rendering method, device, equipment and storage medium
CN108090035A (en) Data processing method and device
CN111179390A (en) Method and device for efficiently previewing CG assets
CN113763525B (en) Hair highlight rendering method, device, equipment and storage medium
CN105574919B (en) A kind of method by Tangka's line drawing figure generation anaglyph
CN107918944A (en) A kind of picture color fill method and device
CN113553633A (en) Data generation method and device, electronic equipment and computer storage medium
JP6714145B2 (en) Synthetic image generation device, synthetic image generation method and program thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 100083 No. 401, 4th Floor, Haitai Building, 229 North Fourth Ring Road, Haidian District, Beijing

Applicant after: Beijing Guoshuang Technology Co.,Ltd.

Address before: 100086 Cuigong Hotel, 76 Zhichun Road, Shuangyushu District, Haidian District, Beijing

Applicant before: Beijing Guoshuang Technology Co.,Ltd.

GR01 Patent grant
GR01 Patent grant