This document is applicable to users who have installed the FineVis Data Visualization plugin to learn plugin functions.
Version
Report Server Version | Plugin Version | Functional Change |
---|---|---|
11.0 | V1.0.0 | Required that your version must be higher than or equal to this lowest version. |
V11.0.16 | V1.16.0 | Allowed the switchStory, nextStory, and previousStory interfaces to transfer parameters. |
11.0.22 | V2.1.1 | Added the showStory and hideStory interfaces to show/hide pages. |
11.0.22 | V2.4.1 | Unified FVS APIs related to template pages, table component pages, and tab pages. For details, see FVS Page Interface. |
switchStory
Method | switchStory(name) | Jump to the specified page. |
---|---|---|
Parameter | name,{para:"para"} | Name of the specified page, which is string |
Returned Value | / | / |
Example | Example 1: Click to jump to Page 4.
Example 2: Click to jump to Page 4 and transfer parameters (which is supported only in V1.16.0 and later versions).
The following shows the syntax for transferring multiple parameters:
| |
Application Example | / | |
Mobile Terminal | This API is supported on mobile terminals. |
nextStory
Method | nextStory() | Jump to the next page. |
Parameter | {para:"para"} | Parameter name: Parameter value |
Returned Value | / | / |
Example | Example 1: Jump to the next page.
Example 2: Jump to the next page and transfer parameters (which is supported only in V1.16.0 and later versions).
The following shows the syntax for transferring multiple parameters:
| |
Application Example | / | |
Mobile Terminal | This API is supported on mobile terminals. |
previousStory
Method | previousStory() | Jump to the previous page. |
Parameter | {para:"para"} | Parameter name: Parameter value |
Returned Value | / | / |
Example | Example 1: Jump to the previous page.
Example 2: Jump to the previous page and transfer parameters (which is supported only in V1.16.0 and later versions).
The following shows the syntax for transferring multiple parameters:
| |
Application Example | / | |
Mobile Terminal | This API is supported on mobile terminals. |
showStory
Method | showStory(name) | Show the page. |
Parameter | name: string | Name of the page to be shown |
Returned Value | / | / |
Example | Example: Show Page 1.
| |
Application Example | / | |
Mobile Terminal | This API is supported on mobile terminals. |
hideStory
Method | hideStory(name) | Hide the page. |
Parameter | name: string | Name of the page to be hidden Note: If you try to hide the current page while on it, a message prompts, indicating that you cannot hide the current page. |
Returned Value | / | / |
Example | Example: Hide Page 2.
| |
Application Example | / | |
Mobile Terminal | This API is supported on mobile terminals. |