![Shows chart with default preset applied.](images/Chart_Default_Preset_01.png)
The Chart control provides a Default Preset, which can be used to change the default settings of a chart when it is first added to a form. Our Default Preset feature automatically enables some useful chart features such as Smart Tickmarks and improves the default appearance of the chart by adjusting the fonts and colors used. It is also possible to change the default preset on any developer’s machine to a preset of your choosing.
The following is an example image of a chart with the Default Preset feature enabled.
To change the default preset on any machine, open the Chart Wizard and click the Preferences button. Then use the input field to specify a path to the new default preset. Default Preset functionality can also be disabled by clearing the "Use Default Preset File Located At:" check box.
Because chart presets are simply clear text XML, they can be created in a text editor, or at run time using the SavePreset method. Some presets are provided in the "\Program Files\Common Files\Infragistics\Presets\" folder where the Infragistics product installer places them.