mrc logo mrc logo
  • m-Power m-Power
    What is m-Power?
    Overview Demos Build Process Case Studies Specs Pricing Trial
    m-Power Resources
    Overview How-To Videos Webinars & Podcasts White Papers Fact Sheets
  • Solutions Solutions
    What does m-Power build?
    Overview Database Front-Ends Reporting CRM Systems Business Intelligence Dashboards Inventory Management Mobile Apps ERP Enhancements Modernization Spreadsheets to the web MS Access to the web B2B/Web Portals Scheduling Embedded Analytics Web Forms Workflow Data Exploration Budgeting & Forecasting APIs and Web Services Db2 Web Query Alternative
    Solutions by Industry
    Overview Manufacturing Government Foodservice Software Vendors Logistics & Supply Chain Software Consultants Healthcare
  • Services Services
    Development Services Training Mentoring
  • About About
    Overview Partners Press Releases Careers Events Contact Blog
  • Support Support
    Support Home FAQ Documentation Customer Portal Enhancements Updates Roadmap Techblog
Try m-Power

m-Power Manual

Browse:

  • Home
  • Graphs
  • Custom Graphing Templates
Back to Manual

Custom Graphing Templates

Overview
Special Notes
Promoting to Production

Overview

m-Painter's What-You-See-Is-What-You-Get (WYSIWYG) graphing interface allows you to easily and quickly customize your graphs. Occasionally, you may want to customize your graph beyond the scope of the built-in options. m-Painter's built in graph customization option makes this a smooth and straightforward process. m-Power utilizes Fusion Charts as its graphing logic. For more information on Fusion Charts, click here.

There are many reasons you may want to customize a graph beyond the options offered by m-Power. Some reasons include:

  • Adding a trendline
  • Adding animations to graphs
  • Customizing styles
  • Creating standardized graph templates
  • Obtaining functionality beyond the built-in options

To open the graph customization option, right-click on your graph, and select Graph Properties. Then navigate to the Options tab. The last option listed on this tab it the custom template option. To begin customizing your graph, click on the 'Customize Graph Template' button.

After clicking this button, you will be brought to the template customization screen. By default, a template will have already been selected for you. The default template is selected based on your selected graph-type's logic. There are five default templates:

  • Angular Gauge
  • Angular Gauge Dial
  • Cylinder
  • Multi-Series
  • One-Series

Note that the screen is dark, and that you cannot edit any of the text.

Existing templates cannot be directly edited. If you want to customize an existing template, you must first select the template from the dropdown, and then click the 'Customize this template' button. This will create a duplicate template of the selected custom template. This ensures that a template being used by an existing graph is not affected by any of the changes you make. After clicking 'Customize this template', the duplicate template is created, selected, and is editable.

m-Power's Fusion Charts use JSON logic. The individual attributes use the following format:

"attributeName":"value",

The attribute name must begin with a lowercase letter. Subsequent words within the attribute name are connected without a space, and the first letter of the next word must be in uppercase. The attribute name must be surrounded by double quotes. After the attribute name, a colon must be entered. The value for the attribute depends on the attribute itself. This value must also be surrounded by double quotes. The entire line must be finished with a comma.

NOTE: mrc does not develop or maintain the attributes that can be included within a Fusion Chart. For information regarding the different attributes that you can customize, please click here.

Special Notes

Once a template has been created, it will then be available for selection when customizing other graphs. For instance, if you customize a 3D Bar Column graph, the next time you go in to customize another similar-type graph, you will be able to select that same template. However, you will be working with a new copy of that template. This allows you to customize your current template, without affecting the existing graph.

Promoting to Production

Customized graph templates will need to be promoted to production for graphs that will be utilized on a production instance of m-Power. These templates can be found within the /m-power/mrcjava/mrcclasses/mrc-graph-templates/custom folder. The templates can be promoted individually.

Alternatively, you can an entry within the Promote to Production utility to easily automate this. To do so, navigate to Promote to Production, and go to Administration -> Manage CSS/HTML/XML Files. Add a new record that sets the File Name equal to "mrc-graph-templates", the File Path equal to "mrcclasses", the Description to "Fusion Charts Customization" and the File type to "folder." Be sure to click "Accept." Moving forward, this folder will be available within the promote to production utility.

Created: February 7, 2014 | Modified: February 5, 2020

Search


Browse By Category

Build Process (13)
Starting with m-Power (8)
Retrievals (10)
Reports (15)
Summaries (4)
Maintainers (17)
Graphs (8)
m-Power Data Explorer (4)
General (24)
Calculations (5)
Utilities (9)
m-Power Administration (23)
Security (11)
Freemarker (6)
m-Painter (29)
Form Validation (5)
External Objects & UDFs (12)
Deprecated Documentation (23)
Bootstrap Templates (7)

Popular Tags

Dropdowns Getting Started DB2 Retrievals mrc-Productivity Series Database Admin Report Performance App Properties Graph Properties Prompt Screens Graphs Production Security Administration Form Validation External Objects Java Summaries Calculations Tomcat Email Dates Popular Build Process Record Selections Video RPG SQL Maintainers Retrieval Reports Advanced m-Painter Graphing Maintainer Bar Graphs Application Properties Bootstrap Templates Parameters Data Dictionary Excel Freemarker Compiling

See all tags »

michaels, ross & cole, ltd. (mrc)

Privacy Policy Cookie Policy Cookie Settings Notice at Collection Do Not Sell or Share My Personal Information

mrc (US)

2001 Midwest Road
Suite 310
Oak Brook, IL 60523
630-916-0662

mrc (UK)

Mortlake Business Centre
20 Mortlake High Street
London, SW14 8JN
+44-20-335-59566


© 2024 mrc. All rights reserved.