ACP Style Library
Release: |
4.6 • 5.0 • 5.1 • 5.2 • 5.3 • 5.4 • 6.0 • 6.1 • 6.2 • 6.3 • 6.4 • 6.5 |
---|
The Analytica Cloud Platform (ACP) offers a variety of user-interface styles useful for web applications that aren't available in desktop Analytica. These include navigation styles with tabs across the top or down the left side, node styles, and Frame nodes and Tall nodes that embed tables and graphs in a Diagram. The ACP Style Library makes it much easier to select and explore these styles than setting special codes in the AcpStyles attributes of the model.
To use the ACP Style library
The easiest way to use the ACP Style library is from inside ACP. Start the model in ACP and from the Hamburger menu on the top right, select ACP Style library
(You can also ACP Style Library#Install the ACP Style library in Desktop Analytica as described below, although it's rare you would need to do that.)
When loading the ACP Style library into your model
If the model contains no previous model level AcpStyle settings, it shows this dialog:
Answer:
- Yes: To use the standard default settings-- outline style, tool tabs, no shadow on nodes
- No: To use the recommended settings -- top tabs, shadowed nodes.
Either way, you can modify all the settings afterwards.
If your model already contains one or more model level AcpStyles, which is likely if you used the ACP Style library before, it shows a slightly different dialog" you will be prompted to either change to the recommended defaults, or to keep the AcpStyles already present in the model.
Answer:
- Yes: To retain its existing settings
- No: To use the recommended settings -- top tabs, shadowed nodes.
- Again, you can modify all the settings afterwards.
- If you choose to retain existing settings, it will ask you to confirm...
If you answer yes, the Acp style library will reflect the existing settings. styles -- e.g. if your model contains the AcpStyle show_description:10
, the relevant choice menu in the Acp style library will reflect this.
How to set ACP styles
After loading the ACP Style library, it will look like this:
You can see what each input does in the usual way: Move the mouse cursor over any input control to see a tooltip balloon explaining what it does.
Or, even simpler, you can just modify an input --(un)check a box or select from a menu-- to see its effect immediately. The default styles for tables and graphs show in the "Preview result" just to the right. Some options and icons, like the "Fly-in" option for Index menus, only appear when you move your cursor over Preview styles for results.
Make the ACP Style library ready for Import into another model
More details coming soon....
Install the ACP Style library in Desktop Analytica
Instead of loading the ACP style library from inside ACP, you can add it to your model in Desktop Analytica before uploading to ACP. You may rarely find a reason to do that. The ACP Style library is included as a standard Analytica library, but we recommend using the most recent ACP Style library version which you can download here: ACP style library.ana, since there have been major enhancements recently.
After downloading the library into a folder, you can read it into your model:
- Make sure you are in edit mode.
- Click File menu > Add Library...
- Select ACP Styles.ana' from the folder into which you saved the file and click Open
The 'ACP Styles library' will appear in the diagram:
Once you've imported the ACP Styles library into your model, you can use it to set ACP styles in desktop Analytica. But, it's better to do in in ACP so you can immediately see the effects of each setting.
Upload your model into ACP
If you have imported the ACP Styles library into your model in Desktop Analytica, you can use it to set ACP styles in desktop Analytica. But, it's better to do in in ACP so you can immediately see the effects of each setting.
If you have an ACP account, you can upload your model into ACP from inside Analytica on the desktop:
- From the File menu, select Publish to cloud...
Otherwise, you can upload your model from inside ACP"
- Start up ACP from https://acp.analytica.com/.
- Sign in (or [sign up if you don't yet have an ACP account). more...
- When you see the Models tab, click the Upload button.
- Follow the file browser prompts to upload your model into ACP
- Click the name of your uploaded model to start it up in ACP.
Enable comment auto-refresher