Many of the mappings included in the MapForce examples folder (<Documents>\Altova\MapForce2019\MapForceExamples\) have StyleVision Power Stylesheets (.sps files) assigned to their target components. When that is the case, the mapping contains the additional StyleVision preview tabs.
StyleVision preview tabs (MapForce Enterprise Edition)
One such example is CompletePO.mfd available at the following path: <Documents>\Altova\MapForce2019\MapForceExamples\CompletePO.mfd. This mapping produces a purchase order in XML format. Right-click the target component, select Properties, and notice that it has an .sps file assigned to it.
Click the Output tab to view the output data in HTML format.
HTML preview of CompletePO.mfd (MapForce Enterprise edition)
Another example is YearlySales.mfd. This mapping is available at the following path: <Documents>\Altova\MapForce2019\MapForceExamples\Tutorial\YearlySales.mfd.
The stylesheet assigned to this mapping was designed (in StyleVision) in such a way that it is possible to control the type of the chart by changing the value of the ChartType element. This makes it possible to change the chart type directly from the mapping. Namely, you can change the default value of the constant to any value from 1 through 7. Notice that, if you place the mouse cursor over the value-map component, the possible values are displayed.
The default value of the constant is "2", which generates a 3D Pie chart in the output. To display other chart types, change this value to any other allowed value, click the Output tab, and observe the result.
© 2019 Altova GmbH