Skip to content

a8ddbbae 39bf 79b5 58c6 02bf57059871

Fernando Garcia edited this page May 8, 2018 · 1 revision

ChartModel Class

Additional header content

Represents a user-defined chart.

Inheritance Hierarchy

System.Object
  iTin.Export.Model.BaseModel(ChartModel)
    iTin.Export.Model.ChartModel
Namespace: iTin.Export.Model
Assembly: iTin.Export.Core (in iTin.Export.Core.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#

[SerializableAttribute]
public class ChartModel : BaseModel<ChartModel>

VB

<SerializableAttribute>
Public Class ChartModel
	Inherits BaseModel(Of ChartModel)

The ChartModel type exposes the following members.

Constructors

 

Name Description
Public method ChartModel Initializes a new instance of the ChartModel class.
  Back to Top

Properties

 

Name Description
Public property Axes Gets or sets a reference that contains the visual setting of the chart axes.
Public property BackColor Gets or sets preferred back color for this chart.
Public property Border Gets or sets a reference that contains the visual setting of chart border.
Public property ChartSize Gets the dimensions of chart.
Public property IsDefault Gets a value indicating whether this instance contains the default. (Overrides BaseModel.IsDefault.)
Public property Legend Gets or sets a reference that contains the visual setting of chart legend.
Public property Location Gets or sets a reference which contains the chart location on the host, this can be by coordinates or by type of alignment, depending whether the host has or not a tabular format. You can only choose one of the modes. If this tag does not define the defaults is by coordinates
Public property Plots Gets or sets collection of plots for a chart.
Public property Properties Gets or sets a reference to user-defined property list for this element. (Inherited from BaseModel(T).)
Public property Show Gets or sets a value that determines whether displays the chart.
Public property Size Gets or sets width and height of the graphic.
Public property Title Gets or sets a reference that contains the visual setting of chart title.
  Back to Top

Methods

 

Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetBackColor Gets a reference to the Color structure than represents back color for this chart.
Public method GetHashCode (Inherited from Object.)
Protected method GetStaticBindingValue Gets the static binding value by reflection. (Inherited from BaseModel(T).)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method SaveToFile(String) Saves to file. (Inherited from BaseModel(T).)
Public method SaveToFile(String, Exception) Serializes current BaseModel object into file (Inherited from BaseModel(T).)
Public method Serialize Serializes current BaseModel object into an Xml document. (Inherited from BaseModel(T).)
Public method SetOwner Sets the element that owns this ChartModel.
Public method SizeToPoints Converts chart size value in pixels to points for the specified device.
Public method ToString Returns a string that represents the current object. (Inherited from BaseModel(T).)
  Back to Top

Remarks

Belongs to: Charts. For more information, please see ChartsModel. ITEE Object Element Usage

<Chart>
  <Border/>
  <Title/>
  <Legend/>
  <Location/>
  <Axes/>
  <Plots/>
</Chart>

Attributes

Attribute Optional Description
Show Yes Determines whether displays the chart. The default is Yes.
BackColor Yes Preferred back color. The default is "White".
Location Yes Preferred location of chart. The default is 1 1.
Size Yes Width and height of the graphic. The default is 150 150.
Elements  
Element Description
Border Reference that contains the visual setting of chart border. Includes visibility, shadow definition, line style, width and color.
Title Reference that contains the visual setting of chart title. Includes a text, visibility, orientation, border and font.
Legend Reference that contains the visual setting of chart legend. Includes visibility, location, border and font.
Location Determines the chart location on the host, this can be by coordinates or by type of alignment, depending whether the host has or not a tabular format. You can only choose one of the modes. If this tag does not define the defaults is by coordinates.
Axes Reference that contains the visual setting of the chart axes.
Plots Collection of plots for a chart. Each element represents a chart plot.
  Compatibility table with native writers.
Comma-Separated Values
CsvWriter
Tab-Separated Values
TsvWriter
SQL Script
SqlScriptWriter
XML Spreadsheet 2003
Spreadsheet2003TabularWriter
No has effect No has effect No has effect No has effect
A X value indicates that the writer supports this element.

See Also

Reference

iTin.Export.Model Namespace

Clone this wiki locally