Skin form — Components tab — Controls — Charts
You can style charts in your application skin by selecting Charts in the Controls section and setting a theme. When you style charts by using a theme, charts that are generated for report definition reports and the autogenerated chart control are styled consistently in your application.
The charts in your application use a default theme until you configure a new theme. The file text rule for the default theme is pyfusioncharts.theme.default. You can preview chart themes in the Skin form to see how different charts look without launching an application.
You use the following fields to set a theme:
- Charts theme file (JS) – Enter the name of the text file rule that holds the JavaScript file that defines theme for charts in your application.
- Theme name – Enter the name of theme. The theme name is defined in the charts theme JavaScript file as the name attribute of theme that is registered.
Preview pane
The preview pane shows how some types of charts will look in your application with theme applied. The following chart types are displayed in the preview pane:
- Area chart; Overlaid
- Bar chart; 100%
- Column chart; Clustered
- Gauge; Half arch
- Line chart; Curved
- Pie chart; Normal