How to install the mobile H5 plugin in Finereport

Source: Internet
Author: User

1. HTML5 Report plugin installation and use Edit


    • Plug-in Installation

Plug-in URL and designer plug-in installation method and server installation plug-in method can be official web search, here does not do a detailed introduction.

    • How to use mobile HTML5 reports

After you install the plugin, you need to add the parameter Op=h5 to the report path after you call it in the browser. However, the PC side does not fully support the H5 effect.

Before and after adding parameters to the mobile side effect:

650) this.width=650; "Src=" http://img.blog.csdn.net/20170419135250106?watermark/2/text/ ahr0cdovl2jsb2cuy3nkbi5uzxqvbmf5dw4xmjm=/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70/gravity/ Center "style=" border:0px none; "/>

When you hang a report on FS, you don't have to take parameters, and it automatically identifies whether you're accessing it on your phone. In addition to the H5 plugin on the mobile side, the chart is only supported to display new charts.


2. HTML5 report production and mobile phone effect editing


    • Mobile Page Size

The production of the report on the phone and the PC-side report production process is the same, in order to allow users to make a suitable mobile phone size report, in the template > Page setup > Paper size, you can choose the size of the mobile phone paper, such as:

650) this.width=650; "Src=" http://img.blog.csdn.net/20170419135322328?watermark/2/text/ ahr0cdovl2jsb2cuy3nkbi5uzxqvbmf5dw4xmjm=/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70/gravity/ Center "style=" border:0px none;margin-left:auto;margin-right:auto; "/>

    • Report parameter Interface Display effect

When the HTML5 report is displayed on the phone, the parameter interface is not the same as the PC side, but a new page, and the control of the page is automatically laid out, from top to bottom, displayed in the order of the parameter interface > mobile Display list:

Effects such as:

650) this.width=650; "Src=" http://img.blog.csdn.net/20170419135342531?watermark/2/text/ ahr0cdovl2jsb2cuy3nkbi5uzxqvbmf5dw4xmjm=/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70/gravity/ Center "style=" border:0px none;margin-left:auto;margin-right:auto; "/>

    • H5 Report Self-adapting

H5 template Adaptive, click on the template > Mobile properties, set "vertical screen"-"Landscape adaptive", the effect will be more beautiful, if there are more than part of the page display, you can scroll through the page buttons below the toolbar.


650) this.width=650; "Src=" http://img.blog.csdn.net/20170419135543907?watermark/2/text/ ahr0cdovl2jsb2cuy3nkbi5uzxqvbmf5dw4xmjm=/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70/gravity/ Center "style=" border:0px none;margin-left:auto;margin-right:auto; "/>

650) this.width=650; "Src=" http://img.blog.csdn.net/20170419135555688?watermark/2/text/ ahr0cdovl2jsb2cuy3nkbi5uzxqvbmf5dw4xmjm=/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70/gravity/ Center "style=" border:0px none;margin-left:auto;margin-right:auto; "/>


3. HTML5 report Support feature point list editing

Note: Using the new version requires that the server Jar pack time is June 8 or updated, the new feature chart plug-in version is V7.2 version above the
current HTML5 report supports the following features:

1, HTML5 Report temporarily support General Page preview, complete preview, data analysis is not supported
2, report parameter interface and text separation, to provide a good user experience
3, the report body on different devices will be adaptive
4, the report toolbar provides left and right arrows to page, click on the page number can be quickly page
5, support the basic display of all types of charts, you can drill through the chart, a number of points tips
6. Report Body cells Support drillthrough
7. Support base Control: Text, drop-down box, radio button Group, check box Group, date, button
8, support the presentation of the form template, and can have a reservation layout and automatic re-layout of two options, you can quickly make beautiful report page
9, support PC, phone, pad display on the directory structure, the user sees on the PC report directory structure and the mobile phone to see the directory structure can be set to different
10, support the form to achieve data collection and submit storage
11, Parameter interface optimization, add parameter Filter shortcut button and support directly return to the directory, and the query does not display the report content properties
12, JS cache optimization, improve display performance
13, Chart performance optimization

14. CPT Report scale adjustment and support to enable the scaling of CPT reports

4, mobile phone report when making the use of the property guide editing

With the form retention layout and the release of the adaptive Layout feature, the properties used in the design of the phone report are also increased by several, although the control of the properties can make the design more flexible, but certainly will increase the difficulty of the design. We are also looking for ways to make the design more simple, at the same time, also the relevant properties and usage here to do a description, so that the use of people can be more clear.

(1) New "Phone re-layout" property in form Body property

Mobile phone re-layout This property is always the original layout for mobile phones, PC and pad. This is whether to keep the layout of the switch when the phone is displayed, by default is the re-layout of yo, that is, the component is displayed in turn, the line will only have a component yo, if you want to display on the phone when the layout of the design, please remember to check.

(2) New "Mobile Display limit height" attribute and height setting for report block properties in form

This is usually used by default, with this property, your report block design can not need to consider the final height, on the phone, the height of the report block will be based on the final expansion of the content of the report automatically change.
Of course, this attribute has certain limitations, that is, if you set the layout to preserve the design time, there are other controls next to the report block, such as the right side of a chart, the report block height will not automatically change, the proportion of the design is what kind of.
The final report block if you set a limit height, height is set to the screen height of the scale value, we consider the report slide, so the report block height when the maximum of 0.8 of the screen height, if you are in actual use, feel that the proportion is not appropriate can be timely feedback to us.

(3) "Component Scaling" in the form Body property

Form body in the self-adaptive layout way There is also a property "component scaling", we also have to pay attention, this default is "bidirectional adaptive", if your report is only seen on the PC, set to "bidirectional adaptive" is very suitable, but if it is on the phone, it is not appropriate, so if you want to balance the mobile phone display , the component scaling property is best set to "Landscape adaptive".

Set to Adaptive layout and "bidirectional adaptive", your report on the phone will also be compressed to a mobile phone screen, each component will be in accordance with the design of the proportion of extrusion display, this time the report block display height limit is useless.


How to install the mobile H5 plugin in Finereport

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.