|
// (c) Copyright Microsoft Corporation.
// This source is subject to the Microsoft Public License (Ms-PL).
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details.
// All other rights reserved.
using System.Windows.Controls;
using Microsoft.Windows.Controls.DataVisualization.Charting;
using System.ComponentModel;
namespace Microsoft.Windows.Controls.Samples
{
/// <summary>
/// Sample page demonstrating ColumnSeries.
/// </summary>
[Sample("(1)Column", DifficultyLevel.Basic)]
[Category("Column Series")]
public partial class ColumnSample : UserControl
{
/// <summary>
/// Initializes a new instance of the ColumnSample class.
/// </summary>
public ColumnSample()
{
InitializeComponent();
SampleGenerators.GenerateNumericSeriesSamples(GeneratedChartsPanel, () => new ColumnSeries(), false);
SampleGenerators.GenerateValueSeriesSamples(GeneratedChartsPanel, () => new ColumnSeries());
SampleGenerators.GenerateCategoryValueSeriesSamples(GeneratedChartsPanel, () => new ColumnSeries());
SampleGenerators.GenerateMultipleValueSeriesSamples(GeneratedChartsPanel, () => new ColumnSeries(), false);
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.