ComponentOne Chart for .NET (2.0) Search HelpCentral 

C1Chart Samples

Please be advised that this ComponentOne software tool is accompanied by various sample projects and/or demos which may make use of other development tools included with ComponentOne Studio Enterprise. 

Note: The ComponentOne Samples are also available at http://helpcentral.componentone.com/ProductResources.aspx.

Click one of the following links to view a list of C1Chart samples or C1Chart Mobile Components samples:

·      C1Chart Samples

C1Chart includes the following Visual Basic and C# samples:

Sample

Description

Alarmz

Shows a 2D Scatter chart with AlarmZones. This sample uses the C1Chart control.

AlarmZoneShapes

Shows an XY chart with various styles of AlarmZones.The sample creates a default XY chart with various types of AlarmZones include rectangles, ellipse and polygons.  Also included in the use ValueLabels in Mixed mode, and marker characteristics.

AutoArrangement

Shows an XY plot with labels that can be automatically arranged without collision. The sample creates an XY plot and demonstrates automatic placement of chart labels that avoid label overlap.

Box

Shows a Box-and-Whisker chart. This sample uses the C1Chart control.

Bubbles

Shows a Bubble chart. This sample uses the C1Chart control.

CandyBox

Shows an Area chart and plays a game. This sample uses the C1Chart control.

Chlabels

Shows a horizontal bar chart with mouse tracking. This sample uses the C1Chart control.

ChartLoader

Shows various load and save operations for both 2D and 3D charts using XML and allows editing using the Chart Properties Dialog, the Chart Wizard Dialog, or a basic Property Grid.   After editing, the chart can be saved as XML to files or clipboard, or chart images can be generated and saved.

This sample is also a useful utility for manipulating chart XML files at runtime and storing the chart state.

CpuUsage

Shows CPU usage and history. This sample uses the C1Chart control

CustomBrushes

Shows charts using custom brushes and textures for lines and fill. This sample uses the C1Chart control.

CustomDraw

The sample creates a 2D XYPlot with a single series in the form of a spiral. By using the ChartDataSeries Draw event, the spiral is draw using two colors. Extreme customizations of a series can be performed using this event.

DataBoundChart

Shows a 2D Horizontal Bar Chart using data from a database. This sample uses the C1Chart control.

DataChart

Shows a 2D Horizontal Bar Chart using data from a database. This sample uses the C1Chart control.

DataStyl

Shows various 2D charts and allows interactive variance of style. This sample uses the C1Chart control.

Demo2D

Explores all 2D chart types and their properties. This sample uses the C1Chart control.

DiskSpace

Shows disk space usage with pie charts and effects. This sample uses the C1Chart control.

Donut

Shows a doughnut chart with various functions, including alpha-blending, tooltips and series highlighting. The sample creates a doughnut chart and demonstrates the use of tooltips, and series highlighting.  A doughnut chart is simply a pie chart with an inner radius specifying the hole size. This sample uses the C1Chart control.

ErrorBar

Shows an XY Plot with error bars. This sample uses the C1Chart control.

FExplorer

Creates and plots different groups of explicit and parametric functions. This sample uses the C1Chart control.

FloatBar

Shows a floating bar chart. This sample uses the C1Chart control.

Function2d

Shows XYPlot and Polar charts of specified functions. This sample uses the C1Chart control.

Gantt

Shows a basic Gantt style chart that displays starting and ending dates of numbered tasks.

HLCandle

Show various price/stock charts. This sample uses the C1Chart control.

Histogram

Shows a histogram chart giving the distribution of distances of each point in a 2D scatter chart from a specified location. The sample creates a 2D scatter chart with random data, and in a second ChartGroup, develops a histogram based on the distances from each of the data points to a set of crosshairs.  The crosshairs are generated using moveable ValueLabels with markers (arrows) and gridlines. This sample uses the C1Chart control.

HistTemp

Shows how to generate histogram data using one of the C1Chart GenerateHistogramData method overloads and displaying that data in a bar chart. The sample creates an XY plot of seasonal average mean temperatures in Kansas City, Mo., USA. In a second chart, a bar chart containing histogram data is generated showing the distribution of the difference from average mean temperatures through the years. Statistics are calculated by the chart for each data series and presented in an accompanying text box.

Interview

Shows a radar chart with various effects. This sample uses the C1Chart control.

Multi

Show multiple concurrent charts and print techniques. This sample uses the C1Chart control.

PieStuff

Show a pie chart with labels and effects. This sample uses the C1Chart control.

PointStyles

Creates point style with different options and applies it to bar and scatter chart data points. This sample uses the C1Chart control.

PrintIt2D

Loads both 2D and 3D persisted from and generates images or prints them. This sample uses the C1Chart and C1Chart3D controls.

Radar

Shows a radar chart and demonstrates stacked and filled radar options. This sample uses the C1Chart control.

RtfTitle

The sample creates a simple 2D XYPlot, and adds headers and footers with RFT formatting.  A simple RTF editor using a RichTextBox control is part of the sample to allow modifications of the header and footer.

Scatter

Shows a scatter chart and demonstrates mouse tracking with a game. This sample uses the C1Chart control.

SelectSeries

The sample creates an inverted XYPlot with multiple series and an axis scrollbar resulting in a strip chart like appearance and function.  Individual series can be selected with a mouse-click and the selected series is highlighted.

StepChart

Shows a step chart, both 2D with symbols, and with 3D effects. The sample creates a step chart and demonstrates the use of tooltips, and the effects of change 3D elevations and rotations for step charts with 3D effects.  Mouse tracking for the step chart is also demonstrated.

StockChart

Shows a basic hi-lo-open-close stock chart with volumes. This sample uses the C1Chart2D control.

ToolTip

The sample creates a 2D XYPlot chart and demonstrates the use of the chart tooltip functions, properties and events.

TrendAndError

The sample creates two charts; the top chart represents random data with polynomial trend line. The bottom chart shows regression errors for each point on the first chart. This sample uses the C1Chart control.

TrendLines

Creates pseudo-random data using various models and plots it with different types of trend lines. This sample uses the C1Chart control.

·      Mobile Components Samples

C1Chart for Mobile Components includes the following Visual Basic and C# samples:

Sample

Description

Alarmz

Shows a 2D Scatter chart with AlarmZones. This sample uses the C1Chart control.

Box

Shows a Box-and-Whisker chart. This sample uses the C1Chart control.

Bubbles

Shows a Bubble chart. This sample uses the C1Chart control.

Chlabels

Shows a horizontal bar chart with mouse tracking. This sample uses the C1Chart control.

DataStyle

Shows various 2D charts and allows interactive variance of style. This sample uses the C1Chart control.

FloatBar

Shows a floating bar chart. This sample uses the C1Chart control.

HLCandle

Show various price/stock charts. This sample uses the C1Chart control.

MemStatus

This sample uses the C1Chart control.

Pie

Show a pie chart with labels and effects. This sample uses the C1Chart control.

Radar

Shows a radar chart and demonstrates stacked and filled radar options. This sample uses the C1Chart control.

Scatter

Shows a scatter chart and demonstrates mouse tracking with a game. This sample uses the C1Chart control.

 


Send comments about this topic to ComponentOne.
Copyright © ComponentOne LLC. All rights reserved.