Create style definitions
With Location Architect, you can create style definitions for any stylable element in your MicroStrategy project. A stylable element is any column in a BI dataset that contains attribute forms or metrics (for example, revenue, unit cost, or retailer type) for which style properties (for example, color, size, and grouping method) can be defined. When style properties are defined for a stylable element in your data, a style definition is created in the model.
Style definitions are used by Esri Maps for MicroStrategy when drawing features in the map layer. For example, if you have a revenue column in your report grid, the style properties defined for revenue in the model are applied at run time to the generated layer. If the report grid contains more than one stylable element, Esri Maps for MicroStrategy uses the style definition corresponding to the rightmost stylable element in the grid when drawing the layer. If a report has columns associated with multiple style definitions in the model, all of these will be included in the list of styles available to apply to the autogenerated layer in Esri Maps for MicroStrategy.
When you create a style definition, you have the option of defining style properties for any of the three geography types—points, lines, or areas. If you choose not to explicitly define style properties for a geography type, default style properties will be applied for that type as needed when the layer is drawn on the map.
- Start Location Architect and sign in to ArcGIS if prompted to do so.
- In Location Architect, click the Style definitions tab.
- Click the New button.
- Browse to and select the attribute form or metric for which you want to create a style definition.
- Click OK.
The attribute form or metric you chose is displayed in the Style definitions table and default style properties are applied.
- To change the data format of the attribute form or metric, choose the format you want from the drop-down menu in the Type column for the appropriate style definition in the table. For example, to display profit margin as a percentage, choose Percentage; profit margin values will be displayed with a percentage symbol (%) in pop-ups and other parts of the map.
- Define the style properties you want for points, lines, and areas. See Define a style for points, Define a style for lines, and Define a style for areas.