Financial market index drawing method and system and intelligent mobile terminal thereof
By using template layers and drawing layers, collaborative drawing of multi-dimensional elements in the iOS system was achieved, solving the problem that multi-dimensional graphics could not be drawn in the same area, and enabling simultaneous drawing of text and images.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-13
- Publication Date
- 2026-03-31
AI Technical Summary
In the current iOS system, multidimensional scalers cannot work together when drawing, making it impossible to draw multidimensional elements in the same area.
Using a template layer and a drawing layer approach, the Painter control converts market data into a displayable layer. The Scaler calculates coordinates and transforms data coordinates. The MainAxis calls the Scaler to calculate the coordinate system separately and merges Scalers with the same coordinate system, thus enabling collaborative drawing of multi-dimensional elements.
It enables collaborative drawing of multi-dimensional elements within the same area, allowing simultaneous drawing of text and images, and solves the problem of collaborative drawing of multi-dimensional graphics.
Smart Images

Figure CN116342741B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of mobile operating systems, specifically to methods, systems, media, and smart mobile terminals for drawing financial market indicators, and in particular, to a technical solution for developing and implementing multi-dimensional element drawing of stock market-related indicators in iOS system software. Background Technology
[0002] Currently, there are two main technical solutions for drawing in iOS. The first is to use CGContextRef provided by the iOS CoreGraphics framework for drawing. The second is to use the CAShapeLayer functionality provided by the iOS QuartzCore framework for drawing.
[0003] However, there are shortcomings when using the above system framework for drawing: multidimensional scalers cannot cooperate and multidimensional elements cannot be drawn in the same area. Summary of the Invention
[0004] To address the shortcomings of existing technologies, the purpose of this invention is to provide a method and system for drawing financial market indicators and its intelligent mobile terminal.
[0005] A method for drawing financial market indicators according to the present invention includes: a template layer step and a drawing layer step;
[0006] In the drawing layer step, the Painter control is used to convert market data into a displayable layer, and the Scaler is used to calculate coordinates and convert data coordinates according to the drawing direction.
[0007] In the template layer step, the coordinate system of all scalers is calculated individually using the main axis MainAxis, the start and end indices of the data displayed by all scalers are synchronized, and scalers with the same coordinate system are merged.
[0008] Preferably, each indicator has only one main axis (MainAxis) and one or more controls (Painter); each control (Painter) contains a scaler; the main axis (MainAxis) maintains an array subAxis, which corresponds to the scalers of all control (Painter) scalers;
[0009] The scaler calculates the maximum and minimum values of a set of market data to determine the coordinate transformation coefficients; determines the drawing direction and transforms the data coordinates according to the drawing direction; and scales the maximum and minimum values of the coordinate axes of the data coordinates according to the distance between the content and the top border (padingTop) and the distance between the content and the bottom border (padingBottom).
[0010] The Painter control receives the incoming market data, the Scaler calculates the coordinates of the market data display based on the coordinate system, and the Painter control converts the market data into the corresponding layer based on the displayed coordinates.
[0011] Preferably, in the template layer step, market data is obtained according to the indicator specified by the user, and the obtained market data is serialized into a data model entity according to the specified protocol; the converted data model entity is aligned to ensure that the data length of different indicators is consistent, and empty data is filled with empty data model entities; the data in the converted and aligned data model entity is passed into the initialized indicator template; the indicator template distributes the data to all corresponding Painter controls;
[0012] The MainAxis calculates the maximum and minimum values of the scaler for all Painter controls;
[0013] The Painter control calculates the maximum and minimum values of the scaler based on the maximum and minimum values of the Painter control's scaler.
[0014] The main axis MainAxis combines the maximum and minimum values of non-independent scalers for calculation;
[0015] The main spindle synchronizes the merged data to the non-independent scaler;
[0016] The MainAxis calls the drawing method, driving all controls (Painter) to begin drawing.
[0017] The Painter control processes the distributed data using a scaler and its scaler to determine the coordinates of the corresponding display element.
[0018] The Painter control converts coordinate positions into paths, which are then stored together with custom styles in the pathCollector.
[0019] The pathCollector merges all paths with the same style.
[0020] The Painter control calls the Builder in the pathCollector to generate corresponding layers from the path;
[0021] The Painter control renders all generated layers onto the canvas of the Painter control.
[0022] Render the canvas of all Painter controls onto the corresponding layer.
[0023] Preferably, the Painter control calls the scaler to initialize the coordinate axis and canvas size conversion coefficients;
[0024] Iterate through the displayed indices and retrieve the corresponding data from the data model entities;
[0025] Obtain the corresponding image and text through the Painter control's builder;
[0026] Convert the obtained text and styles into a textLayer to display the text;
[0027] The obtained images and styles are converted into shapeLayer layers to display the images;
[0028] Merge the textlayer and shapelayer into a single unit and add it to a new containerlayer.
[0029] Add the containerLayer as a single unit to the canvas;
[0030] The Canvas renders the contained layers onto the template container view.
[0031] A financial market indicator drawing system provided by the present invention includes: a template layer module and a drawing layer module;
[0032] In the drawing layer module, the Painter control converts market data into a displayable layer, and the Scaler calculates coordinates and transforms data coordinates according to the drawing direction.
[0033] In the template layer module, the main axis MainAxis calls all scalers to calculate the coordinate system separately, synchronizes the start and end indices of the data displayed by all scalers, and merges scalers with the same coordinate system.
[0034] Preferably, each indicator has only one main axis (MainAxis) and one or more controls (Painter); each control (Painter) contains a scaler; the main axis (MainAxis) maintains an array subAxis, which corresponds to the scalers of all control (Painter) scalers;
[0035] The scaler calculates the maximum and minimum values of a set of market data to determine the coordinate transformation coefficients; determines the drawing direction and transforms the data coordinates according to the drawing direction; and scales the maximum and minimum values of the coordinate axes of the data coordinates according to the distance between the content and the top border (padingTop) and the distance between the content and the bottom border (padingBottom).
[0036] The Painter control receives the incoming market data, the Scaler calculates the coordinates of the market data display based on the coordinate system, and the Painter control converts the market data into the corresponding layer based on the displayed coordinates.
[0037] Preferably, in the template layer module, market data is obtained according to the indicator specified by the user, and the obtained market data is serialized into a data model entity according to the specified protocol; the converted data model entity is aligned to make the data length of different indicators consistent, and empty data is filled with empty data model entities; the data in the converted and aligned data model entity is passed into the initialized indicator template; the indicator template distributes the data to all corresponding Painter controls;
[0038] The MainAxis calculates the maximum and minimum values of the scaler for all Painter controls;
[0039] The Painter control calculates the maximum and minimum values of the scaler based on the maximum and minimum values of the Painter control's scaler.
[0040] The main axis MainAxis combines the maximum and minimum values of non-independent scalers for calculation;
[0041] The main spindle synchronizes the merged data to the non-independent scaler;
[0042] The MainAxis calls the drawing method, driving all controls (Painter) to begin drawing.
[0043] The Painter control processes the distributed data using a scaler and its scaler to determine the coordinates of the corresponding display element.
[0044] The Painter control converts coordinate positions into paths, which are then stored together with custom styles in the pathCollector.
[0045] The pathCollector merges all paths with the same style.
[0046] The Painter control calls the Builder in the pathCollector to generate corresponding layers from the path;
[0047] The Painter control renders all generated layers onto the canvas of the Painter control.
[0048] Render the canvas of all Painter controls onto the corresponding layer.
[0049] Preferably, the Painter control calls the scaler to initialize the coordinate axis and canvas size conversion coefficients;
[0050] Iterate through the displayed indices and retrieve the corresponding data from the data model entities;
[0051] Obtain the corresponding image and text through the Painter control's builder;
[0052] Convert the obtained text and styles into a textLayer to display the text;
[0053] The obtained images and styles are converted into shapeLayer layers to display the images;
[0054] Merge the textlayer and shapelayer into a single unit and add it to a new containerlayer.
[0055] Add the containerLayer as a single unit to the canvas;
[0056] The Canvas renders the contained layers onto the template container view.
[0057] According to the present invention, a computer-readable storage medium storing a computer program is provided, wherein when the computer program is executed by a processor, the steps of the financial market indicator drawing method are implemented.
[0058] According to the present invention, a smart mobile terminal includes the aforementioned financial market indicator drawing system, or includes the aforementioned computer-readable storage medium storing a computer program.
[0059] Compared with the prior art, the present invention has the following beneficial effects:
[0060] 1. In this invention, the multidimensional scalers can cooperate to draw multidimensional elements in the same area.
[0061] 2. This invention can simultaneously draw text and images. Attached Figure Description
[0062] Other features, objects, and advantages of the present invention will become more apparent from the following detailed description of non-limiting embodiments with reference to the accompanying drawings:
[0063] Figure 1 This is a schematic diagram of the overall framework of the present invention.
[0064] Figure 2 This is a schematic diagram illustrating the relationship between the MainAxis, Scaler, and Painter controls of this invention.
[0065] Figure 3 This is a schematic diagram of the data processing flow of the Painter control of the present invention.
[0066] Figure 4 This is a comparison diagram of the relationship between the baseline and the drawing direction in this invention. Detailed Implementation
[0067] The present invention will now be described in detail with reference to specific embodiments. These embodiments will help those skilled in the art to further understand the present invention, but do not limit the invention in any way. It should be noted that those skilled in the art can make several changes and improvements without departing from the concept of the present invention. These all fall within the protection scope of the present invention.
[0068] This invention enables the simultaneous plotting of market indicator-related elements within the same area. By processing a given set of multi-dimensional data through algorithms and multi-coordinate transformations, a series of related plotting paths are generated. These paths are then combined into a layer and plotted within a designated area. The functionality includes coordinate calculations, multi-axis synchronization, layer collection, gesture handling, elastic animation, and style configuration, providing market indicator developers with a complete indicator-related development solution. Specifically, this invention solves the problem of multi-dimensional graphics plotting by introducing the concept of multi-dimensional coordinate axes. Its overall framework architecture design is as follows: Figure 1 As shown.
[0069] The present invention provides a method for drawing financial market indicators, comprising: a template layer module and a drawing layer module.
[0070] First, let's describe the template layer module. The template module contains templates for various currently supported metrics. The container layer module for loading and displaying templates is mainly used to hold the templates and the content generated from them. The MainAxis is responsible for user interaction, coordinating collaboration between Painters of sub-axes, and invoking collaboration between multi-dimensional coordinate axes. The MainAxis is the axis consistent with the component layout direction and perpendicular to the CrossAxis. The metric protocol module defines the data required for the metrics implemented by the template, as well as the data types.
[0071] Next, the drawing layer module will be described. This module is primarily responsible for the underlying drawing functions, mainly converting the data from the template layer module into layers for drawing. It mainly includes the following controls:
[0072] Painter control: Responsible for converting data into corresponding layers. Different Painter controls can draw layers of different elements. For example, the TextPainter control can convert text into a TextLayer and finally display the text.
[0073] Control Style: Style, the style of the main configuration element, such as the font size, weight, and color of the text;
[0074] Scaler: The scaler or sub-axis is mainly responsible for calculating the coordinate system of the elements to determine their positions;
[0075] The Gesture control is mainly used to process user gestures from the gesture recognizer of the template layer module, such as click and long press gestures.
[0076] The Animation control is mainly used to handle animations, such as implementing inertial animations and bounce effects.
[0077] ControlUtil: A utility class, mainly containing some commonly used public methods;
[0078] View: The base class for containers, mainly used to display layers converted by Painter controls, and to receive gestures and other functions.
[0079] The MainAxis module in the template layer and the Scaler and Painter controls in the drawing layer module made creative contributions, jointly enabling the drawing of elements of the multi-dimensional coordinate axis. The relationship structure diagram of the MainAxis, Scaler, and Painter controls is shown below. Figure 2 As shown.
[0080] Each indicator's corresponding basic container, BasicView, contains a main axis, but can contain multiple Painters, such as TextPainter (a text drawing tool used to draw text) and LinePainter (a line drawing tool used to draw polylines). Each Painter contains a scaler, which is either a scaler or a sub-axis. The main axis, MainAxis, maintains an array subAxis, which contains the scalers of all Painters.
[0081] The core functions of the MainAxis include: calling the scalers of all Painter controls to calculate the coordinate system independently; synchronizing all scalers and displaying the start and end indices of the data; and merging scalers with the same coordinate system.
[0082] The core functionality of the Painter control includes converting data into displayable layers. The Painter data processing flowchart is shown below. Figure 3 As shown.
[0083] The core functions of the Scaler include: calculating the maximum and minimum values of a set of data to determine coordinate transformation coefficients; determining the drawing direction and transforming the data coordinates according to the drawing direction; and scaling the maximum and minimum values of the coordinate axes of the data coordinates based on the distances between the content and the top border (padingTop) and the content and the bottom border (padingBottom). Specifically, the Painter control receives the input data, the Scaler calls the coordinate axis iterator to calculate the coordinate system, and calculates the coordinates of the displayed data; the Style control obtains the coordinate information and style of the specified index, the Painter control converts the data into the corresponding layer, and the Layer displays the data that needs to be displayed. The comparison diagram of the relationship between the Baseline and the drawing direction in the Scaler is shown below. Figure 4 As shown, the arrow direction represents the drawing direction, and the horizontal straight line position across the rectangular border of the figure is the position of the baseline. The different relationships are respectively denoted as AxiBaselineBottom, AxiBaselineTop, AxiBaselineRowCenter, AxiBaselineLeft, AxiBaselineRight, and AxiBaselineColumnCenter.
[0084] The MainAxis, Scaler, and Painter work together in the following workflow:
[0085] Users first confirm the type of metric they need to draw and obtain the relevant data;
[0086] The acquired data is serialized and converted into data model entities according to the specified protocol;
[0087] Align the converted data model entities. Alignment means ensuring that the data lengths of different indicators are consistent. Empty data is filled with empty data models as placeholders.
[0088] The data from the converted and aligned data model entity is passed into the initialized indicator template;
[0089] Configure parameters such as the amount of data to be displayed on one screen and the total amount of data;
[0090] The indicator template distributes data to all included Painter controls;
[0091] Call the calculation method of MainAxis to calculate the maximum and minimum values of the scalers of all Painter controls;
[0092] The Painter control calls the maximum and minimum value iterators of the scaler to calculate the maximum and minimum values of the scaler; the maximum and minimum values of the scaler are used to determine the scaling factor for converting the numerical values into screen drawing coordinates;
[0093] The MainAxis merges the maximum and minimum values of non-independent scalers for calculation. The independence of scalers is defined according to the business usage scenario. Non-independent scalers share a common coordinate system, while independent scalers have their own coordinate system.
[0094] The MainAxis synchronizes the merged data to the non-independent scalers; this synchronization is to ensure that the maximum and minimum values are consistent among the non-independent scalers, thereby ensuring that the coordinate transformation scaling factor is consistent; the scalers are used to determine the coordinates of each point when converting a set of data into points on the screen.
[0095] The MainAxis calls the drawing method, driving all controls (Painter) to begin drawing.
[0096] The Painter control uses a scaler to calculate the coordinates of the bound data.
[0097] The Painter coordinates of the control are converted into paths and stored together with the custom styles in the pathCollector;
[0098] The pathCollector merges all paths with the same style.
[0099] The Painter control calls the Builder method in the pathCollector to generate the corresponding layer from the path;
[0100] The Painter control renders all generated layers onto the canvas of the Painter control.
[0101] The template container (view) renders the canvas of all Painter controls onto its own layer. The template container (view) is a UI control used to display all points and lines of the drawing. BasicView is the basic template container.
[0102] The solution to the problem of simultaneously drawing images and text is as follows:
[0103] Users convert data into corresponding entity models according to the protocol;
[0104] Pass data to the specified control Painter;
[0105] The Painter control calls the scaler's maximum and minimum value iterators to initialize the coordinate axes and canvas size conversion coefficients.
[0106] Iterate through the displayed indices and retrieve the corresponding data from the data model;
[0107] The Painter control uses its Builder to retrieve the corresponding images and text.
[0108] Convert the obtained text and styles into a textLayer to display the text;
[0109] The obtained images and styles are converted into shapeLayer layers to display the images;
[0110] Merge the above textlayer and shapelayer into a single unit and add it to a new containerlayer.
[0111] Add the containerLayer as a single unit to the canvas;
[0112] The Canvas renders the contained layers onto the template container view.
[0113] The features of the present invention will now be described in more detail.
[0114] Painter: A paintbrush control, mainly used to draw layers of specified elements. Different types of paintbrushes can draw different elements; for example, textPainter can draw text, and linePainter can draw polylines.
[0115] Builder: A constructor is a method that obtains drawing element data, styles, configuration information, etc.
[0116] Path: The path used to draw lines, pillars, triangles, etc.
[0117] pathCollector: The path collector is mainly used to manage different drawing paths and merge paths of the same style;
[0118] Layer: A layer is mainly used to display specific content. For example, a textLayer is used to display text, and a shapeLayer is used to display images such as lines and graphics.
[0119] Scaler: Also known as a sub-axis, it is mainly used to determine coordinates. Every Painter control contains a Scaler.
[0120] MainAxis: The main axis, which primarily determines the index to be drawn or schedules data synchronization between sub-axes;
[0121] Canvas: The canvas is mainly used to hold layers and render them.
[0122] The template layer module mainly contains templates for nearly 40 indicators, algorithms for some indicators, and containers for indicator templates that developers can access and use. Specific indicators include trading volume, MACD, KDJ, RSI, BIAS, CCI, BOLL, WR, OBV, DMI, etc. Other indicator names may include AI Radar, Bollinger Bands Rainbow, Chip Distribution, DDX, DK, Momentum Trend, Red in Red, Latitude and Longitude Trading, Nine Turns Trading, Bull and Bear Point, Strong and Weak Trend, Trend DK, Upper Space, Heaven and Earth Channel, Tai Chi Trend, Tai Chi Momentum, Tai Chi Diagram, Five-Color Volume Bars, Micro Dragon Indicator, Yin-Yang Judgment, Winning in the Main Rise, Main Force Wind Indicator, Zhi-Liang N-Type, Main Force Accumulation, or Main Force Funds.
[0123] Those skilled in the art will understand that, in addition to implementing the system, apparatus, and their modules provided by this invention in purely computer-readable program code, the same program can be implemented in the form of logic gates, switches, application-specific integrated circuits, programmable logic controllers, and embedded microcontrollers by logically programming the method steps. Therefore, the system, apparatus, and their modules provided by this invention can be considered a hardware component, and the modules included therein for implementing various programs can also be considered structures within the hardware component; alternatively, modules for implementing various functions can be considered both software programs implementing the method and structures within the hardware component.
[0124] Specific embodiments of the present invention have been described above. It should be understood that the present invention is not limited to the specific embodiments described above, and those skilled in the art can make various changes or modifications within the scope of the claims, which do not affect the essence of the present invention. Unless otherwise specified, the embodiments and features described in this application can be arbitrarily combined with each other.
Claims
1. A method of drawing a financial market indicator, characterized by, Comprise: Template layer step, drawing layer step; In the drawing layer step, the control Painter converts the market data into a displayable layer, and the Scaler calculates the coordinates and converts the data coordinates according to the drawing direction; In the template layer step, the MainAxis calls all Scalers to calculate the coordinate system separately, synchronizes the start and end indexes of all Scalers, and combines the Scalers with the same coordinate system; Each index has only one MainAxis, and has one or more control Painters; Each control Painter contains a Scaler; The MainAxis maintains an array subAxis, which corresponds to all control Painters' Scalers; The Scaler calculates the maximum and minimum values of a set of market data, determines the coordinate conversion coefficient, determines the drawing direction, converts the data coordinates according to the drawing direction, and scales the maximum and minimum values of the coordinate axis of the data coordinates according to the distance padingTop between the content and the upper border and the distance padingBottom between the content and the lower border; Wherein, the control Painter receives the incoming market data, and the Scaler calculates the coordinates of the market data display according to the coordinate system; The control Painter converts the market data into the corresponding layer according to the displayed coordinates.
2. The financial market indicator drawing method according to claim 1, characterized by, In the template layer step, according to the user's specified index to be drawn, the market data is obtained, and the obtained market data is serialized into a data model entity according to the specified protocol; Align the converted data model entity, so that the data length of different indexes is consistent, and use empty data model entity to fill in the empty data; The data in the converted and aligned data model entity is transmitted to the initialized index template; The index template distributes the data to all corresponding control Painters; The MainAxis calculates the maximum and minimum values of all control Painters' Scalers; The control Painter calculates the maximum and minimum values of the Scaler according to the maximum and minimum values of the control Painter's Scaler; The MainAxis combines and calculates the maximum and minimum values of the non-independent Scalers; The MainAxis synchronizes the combined data to the non-independent Scalers; The MainAxis calls the drawing method to drive all control Painters to start drawing; The control Painter calculates the coordinate position of the data corresponding to the display element by using the Scaler and its Scaler to operate the distributed data; The control Painter converts the coordinate position into a path path, and stores it in the path collector pathCollector together with the custom style; The pathCollector combines all paths with the same style; The builder Builder in the path collector pathCollector is called by the control Painter to generate a corresponding layer for the path path; The control Painter renders all the generated layers to the canvas Canvas of the control Painter; The canvas Canvas of all the control Painters is rendered to the corresponding layer layer.
3. The financial index drawing method according to claim 2, characterized in that, The control Painter calls the scaler to initialize the coordinate axis and the canvas size conversion coefficient; The displayed index is traversed to obtain the corresponding data from the data model entity; The data corresponding picture and text are obtained through the builder Builder of the control Painter; The obtained text and style are converted into a display text layer textLayer; The obtained picture and style are converted into a display picture layer shapeLayer; The layer textLayer and the layer shapeLayer are combined into a whole and added to a new layer containerLayer; The layer containerLayer is added to the canvas Canvas as a whole; The canvas Canvas renders the contained layers to the template container view.
4. A financial market indicator drawing system characterized by comprising: Comprise: A template layer module and a drawing layer module; In the drawing layer module, the control Painter converts the financial data into a displayable layer, and the scaler Scaler calculates the coordinates and converts the data coordinates according to the drawing direction; In the template layer module, the main axis MainAxis calls all the scalers Scaler to calculate the coordinate system separately, synchronizes the start and end indexes of the displayed data of all the scalers Scaler, and combines the scalers Scaler with the same coordinate system; Each index has only one main axis MainAxis and has one or more control Painters; each control Painter contains a scaler Scaler; the main axis MainAxis maintains an array subAxis, which corresponds to the scalers Scaler of all the control Painters; The scaler Scaler calculates the maximum value and the minimum value of a group of financial data, determines the coordinate conversion coefficient, determines the drawing direction, converts the data coordinates according to the drawing direction, and scales the maximum value and the minimum value of the coordinate axis of the data coordinates according to the distance padingTop between the content and the upper end frame and the distance padingBottom between the content and the lower end frame; The control Painter receives the incoming financial data, the scaler Scaler calculates the coordinates of the displayed financial data according to the coordinate system, and the control Painter converts the financial data into a corresponding layer according to the displayed coordinates.
5. The financial market indicator plotting system of claim 4, wherein, In the template layer module, according to the user specified to be drawn indicators, get market data, the data model entity is converted into according to the specified protocol serialization; the converted data model entity is aligned, so that the length of different indicators is consistent, and the empty data is filled with empty data model entity; the data in the converted and aligned data model entity is transmitted into the initialized indicator template; the indicator template distributes the data to all corresponding controls Painter; The main shaft MainAxis calculates the maximum and minimum values of the Scaler of all controls Painter; The control Painter calculates the maximum and minimum values of the Scaler according to the maximum and minimum values of the Scaler of the control Painter; The main shaft MainAxis merges and calculates the maximum and minimum values of the non-independent Scaler; The main shaft MainAxis synchronizes the merged data to the non-independent Scaler; The main shaft MainAxis calls the drawing method to drive all controls Painter to start drawing; The control Painter calculates the coordinate position of the data corresponding to the display element by operating the Scaler and its Scaler through the distributed data; The control Painter converts the coordinate position into a path path, and stores it in the path collector pathCollector together with the custom style; The path collector pathCollector merges all paths path with the same style; The control Painter calls the Builder in the path collector pathCollector to generate the corresponding layer from the path path; The control Painter renders all generated layers to the canvas Canvas of the control Painter; All canvas Canvas of the control Painter is rendered to the corresponding layer layer.
6. The financial market indicator drawing system of claim 5, wherein, The control Painter initializes the coordinate axis and the canvas size conversion coefficient by calling the Scaler; Iterate through the displayed index to get the corresponding data from the data model entity; Get the picture and text corresponding to the data through the Builder of the control Painter; Convert the obtained text and style into a text layer textLayer; Convert the obtained picture and style into a picture layer shapeLayer; Merge the text layer textLayer and the picture layer shapeLayer into a whole and add them to a new layer containerLayer; Add the layer containerLayer as a whole to the canvas Canvas; The canvas Canvas renders the contained layers to the template container view.
7. A computer readable storage medium storing a computer program, characterized in that, The computer program is executed by the processor to realize the steps of the financial market indicator drawing method of any one of claims 1 to 3. The computer program is executed by the processor to realize the steps of the financial market indicator drawing method of any one of claims 1 to 3.
8. A smart mobile terminal, characterized by, The financial market indicator drawing system according to any one of claims 4 to 6, or the computer-readable storage medium storing the computer program according to claim 7.
Citation Information
Patent Citations
Method and device for establishing quotation graph
CN105260397A