ADSS Charts: .NET Charting Control for every project.
Overview Features Download Manual Order ADSS home
 

Manual: ADSS Charts for .NET



Download ADSS Charts Quick Start Guide



This is brief manual for ADSSCharts Component.

Property groups available in designer:
Property Group Description
Chart Data Source data for Chart. Values and Number of Channels.
Chart Captions Sets up Chart captions and values, etc.
Chart Fill Use to change Chart Fill type
Chart Style Allows to change Style of Chart
Shadows Sets up shadows and their parameters
Appearance ADSSCharts Control inherits UserConrol

Public Methods:
Method Name Description
SaveToFile Method for saving Chart to BMP,JPEG,TIFF and PNG file formats. Allows to select output file size.

Redistributable Part:
File Name Description
ADSSCharts.dll This library marked as redistributable. You can feel free to distribute it with your applications, if you purchased developers license. Order Now.

Run-time Code Samples

Chart Data:
Property Type Description
NumberOfChannels int Defines Number of Channels to be displayed. Depends on length of Values array, can't be greater than length of Values array.
Values int[] Defines an array that contains data to create chart.
GroupSize int

Number of Values in one group. Default is 1 - not groupped data.

Chart Captions:
Property Type Description
CaptionsAlignment StringAlignment

Defines alignment of Captions and Values.

Standard System.Text.StringAlignment enumeration.
Values: {Near,Center,Far}.

ChannelCaptions string[] Defines an array that contains captions for channels. Optional. Ignored if empty or length less than length of Values.
ShowCaptions bool If true displays captions of channels from ChannelCaptions.
DisplayCaptionsType DisplayCaptions Enum. Values: { Inside=1 , Outside=2 , NoCaptions=4 }
  • Inside - Displays captions inside chart element.
  • Outside - Displays captions outside chart element. Note: you must have proper TopMargin and LeftMargin to display captions.
  • NoCaptions - Don't display captions and Values.
ShowValues bool If true displays values of channels in selected units.
ValuesUnits string String that appends to value of Channel. For example: 100%, 1000 visitors. '%' and 'visitors' are ValuesUnits.

Chart Fill:
Property Type Description
Colors Color[] Array of colors. Used only if Fill set to ColorsArray or ColorsArrayGradient.Used in loop if count of colors less than number of channels displayed.
Fill ChartFill

Enum. Use to select fill type for Chart.

Possible Values: { Solid , Gradient , DifferentColors, DifferentGradients , ColorsArray, ColorsArrayGradient }.

  • Solid. All channels are filled with MainColor.
  • Gradient.All channels are filled with linear gradient between MainColor and SecondaryColor value.
  • DifferentColors.Even channels are filled with MainColor and odd - with SecondaryColor.
  • DifferentGradients.Same as above, but with gradient fill.
  • ColorsArray.Array Colors used to fill channels with color. Solid fill. Colors are looped.
  • ColorsArrayGradient.Array Colors used to fill channels with color. Gradient fill between Color and SecondaryColor. Colors are looped.
FillGradientDirection GradientDirection Enum. Defines Direction for Gradient. Possible values is Parallel , Perpendicular
MainColor Color Color that used in case of Solid color chart. Also used for Gradient Fill.
SecondaryColor Color

Used in all Gradient fill types as second color for gradient.
Used if Fill:

  • Gradient
  • DifferentColors
  • DifferentGradients
  • ColorsArrayGradient

Chart Style:
Property Type Description
LeftMargin int Left Margin in Pixels. Use it if You want to display Captions outside of Chart elements.
TopMargin int Top Margin in Pixels. Use it if You want to display Captions outside of Chart elements.
Outline bool If true outlines chart elements with ForeColor.
Spacing ChartSpace Enum.Use this property to change size of chart elements.
Possible values is { NoSpace , Small , Medium, Large }
Type ChartType Enum.Use this property to change TYPE of chart.
Possible values is { PieChart , VerticalChart , HorizontalChart }
Outline bool If true outlines chart elements with ForeColor.

Shadows:
Property Type Description
DropsShadow bool If true every Chart element drops shadow.
ShadowColor Color Use to set Shadow color.
ShadowDistance int Distance in pixels, to drop shadow.
ShadowOpacity int Opacity value (0-100). 0 is transparent.

Appearance:
Property Type Description
Font Font Use to set up font for displaying of captions and values.
BackColor Color Use to set Background color.
ForeColor Color Use to set Foreground color. Used for Outline and Text output.
Background Image Use to set up background image for chart.

Save To File Method.
Parameter Type Description
fileName string File name to save to.
imageFormat System.Drawing.Imaging.ImageFormat Standard enumeration for saving graphical files.
width int Output image width.
height int Output image height.

Run-time Code Samples:

Run-time Channels Values Filling Sample:
   public void SetData()
        {
            adssCharts1.NumberOfChannels = 10;
            for ( int i =0; i< adssCharts1.NumberOfChannels; i++)
            {
                adssCharts1.Values[i] = i*10+10;
            }
        }
        
Want to Have some new features in Next Version? Write to Us!

Thank You for using ADSSCharts! We are open for all your questions. Contact ADSS.

© 2006 Advanced Software Solutions Inc. Send Feedback