Chart Themes
ComponentOne Chart for Silverlight incorporates several themes, including Office 2003 Vista, and Office 2007 themes, that allow you to customize the appearance of your chart. The built-in themes are described and pictured below:
Office2007Black Theme
This is the default theme based on the Office 2007 Black style and it appears as a dark gray-colored chart with orange highlighting.
In XAML
To specifically define the Office2007Black theme in your chart add the following Theme XAML to the <c1chart:C1Chart> tag so that it appears similar to the following:
<c1chart:C1Chart Name="c1Chart1" Theme="Office2007Black”>
In Code
To specifically define the Office2007Black theme in your chart, add the following code your project:
C1Chart1.Theme = ChartTheme.Office2007Black
•C#
c1Chart1.Theme = ChartTheme.Office2007Black;
Office2007Blue Theme
This theme is based on the Office 2007 Blue style and it appears as a blue-colored chart with orange highlighting.
In XAML
To specifically define the Office2007Blue theme in your chart, add the following Theme XAML to the <c1chart:C1Chart> tag so that it appears similar to the following:
<c1chart:C1Chart Name="c1Chart1" Theme="Office2007Blue">
In Code
To specifically define the Office2007Blue theme in your chart, add the following code your project:
C1Chart1.Theme = ChartTheme.Office2007Blue
•C#
C1Chart1.Theme = ChartTheme.Office2007Blue;
Office2007Silver Theme
This theme is based on the Office 2007 Silver style and it appears as a silver-colored chart with orange highlighting.
In XAML
To specifically define the Office2007Silver theme in your chart, add the following Theme XAML to the <c1chart:C1Chart> tag so that it appears similar to the following:
<c1chart:C1Chart Name="c1Chart1" Theme="Office2007Silver">
In Code
To specifically define the Office2007Silver theme in your chart, add the following code your project:
C1Chart1.Theme = ChartTheme.Office2007Silver
•C#
c1Chart1.Theme = ChartTheme.Office2007Silver;
Vista Theme
This theme is based on the Vista style and it appears as a teal-colored chart with blue highlighting.
In XAML
To specifically define the Vista theme in your chart, add the following Theme XAML to the <c1chart:C1Chart> tag so that it appears similar to the following:
<c1chart:C1Chart Name="c1Chart1" Theme="Vista">
In Code
To specifically define the Vista theme in your chart, add the following code your project:
C1Chart1.Theme = ChartTheme.Vista
•C#
c1Chart1.Theme = ChartTheme.Visata;
MediaPlayer Theme
This theme is based on the Windows Media Player style and it appears as a black-colored chart with blue highlighting.
In XAML
To specifically define the MediaPlayer theme in your chart, add the following Theme XAML to the <c1chart:C1Chart> tag so that it appears similar to the following:
<c1chart:C1Chart Name="c1Chart1" Theme="MediaPlayer">
In Code
To specifically define the MediaPlayer theme in your chart, add the following code your project:
C1Chart1.Theme = ChartTheme.MediaPlayer
•C#
c1Chart1.Theme = ChartTheme.MediaPlayer;
DuskBlue Theme
This theme appears as a charcoal-colored chart with electric blue and orange highlighting.
In XAML
To specifically define the DuskBlue theme in your chart, add the following Theme XAML to the <c1chart:C1Chart> tag so that it appears similar to the following:
<c1chart:C1Chart Name="c1Chart1" Theme="DuskBlue">
In Code
To specifically define the DuskBlue theme in your chart, add the following code your project:
C1Chart1.Theme = ChartTheme.DuskBlue
•C#
c1Chart1.Theme = ChartTheme.DuskBlue;
DuskGreen Theme
This theme appears as a charcoal -colored chart with electric green and purple highlighting.
In XAML
To specifically define the DuskGreen theme in your chart, add the following Theme XAML to the <c1chart:C1Chart> tag so that it appears similar to the following:
<c1chart:C1Chart Name="c1Chart1" Theme="DuskGreen">
In Code
To specifically define the DuskGreen theme in your chart, add the following code your project:
C1Chart1.Theme = ChartTheme.DuskGreen
•C#
c1Chart1.Theme = ChartTheme.DuskGreen;
Office2003Blue Theme
This theme is based on the Office 2003 Blue style and it appears as a neutral-colored chart with blue and orange highlighting.
In XAML
To specifically define the Office2003Blue theme in your chart, add the following Theme XAML to the <c1chart:C1Chart> tag so that it appears similar to the following:
<c1chart:C1Chart Name="c1Chart1" Theme="Office2003Blue">
In Code
To specifically define the Office2003Blue theme in your chart, add the following code your project:
C1Chart1.Theme = ChartTheme.Office2003Blue
•C#
c1Chart1.Theme = ChartTheme.Office2003Blue;
Office2003Classic Theme
This theme is based on the Office 2003 Classic style and appears as a gray-colored chart with slate-colored highlighting.
In XAML
To specifically define the Office2003Classic theme in your chart, add the following Theme XAML to the <c1chart:C1Chart> tag so that it appears similar to the following:
<c1chart:C1Chart Name="c1Chart1" Theme="Office2003Classic">
In Code
To specifically define the Office2003Classic theme in your chart, add the following code your project:
C1Chart1.Theme = ChartTheme.Office2003Classic
•C#
c1Chart1.Theme = ChartTheme.Office2003Classic;
Office2003Olive Theme
This theme is based on the Office 2003 Olive style and it appears as a neutral-colored chart with olive green and orange highlighting.
In XAML
To specifically define the Office2003Olive theme in your chart, add the following Theme XAML to the <c1chart:C1Chart> tag so that it appears similar to the following:
<c1chart:C1Chart Name="c1Chart1" Theme="Office2003Olive">
In Code
To specifically define the Office2003Olive theme in your chart, add the following code your project:
C1Chart1.Theme = ChartTheme.Office2003Olive
•C#
c1Chart1.Theme = ChartTheme.Office2003Olive;
Office2003Royale Theme
This theme is similar to the Office 2003 Royale style and appears as a silver-colored chart with blue highlighting.
In XAML
To specifically define the Office2003Royale theme in your chart, add the following Theme XAML to the <c1chart:C1Chart> tag so that it appears similar to the following:
<c1chart:C1Chart Name="c1Chart1" Theme="Office2003Royale">
In Code
To specifically define the Office2003Royale theme in your chart add the following code your project:
C1Chart1.Theme = ChartTheme.Office2003Royale)
•C#
c1Chart1.Theme = ChartTheme.Office2003Royale;
Office2003Silver Theme
This theme is based on the Office 2003 Silver style and it appears as a silver-colored chart with gray and orange highlighting.
In XAML
To specifically define the Office2003Silver theme in your chart, add the following Theme XAML to the <c1chart:C1Chart> tag so that it appears similar to the following:
<c1chart:C1Chart Name="c1Chart1" Theme="Office2003Silver">
In Code
To specifically define the Office2003Silver theme in your chart, add the following code your project:
C1Chart1.Theme = ChartTheme.Office2003Silver)
•C#
c1Chart1.Theme = ChartTheme.Office2003Silver;