GUIGraphModel Class |
Namespace: Livit.Learn.Model.GUI
[SerializableAttribute] public class GUIGraphModel : GUIWidgetModel
The GUIGraphModel type exposes the following members.
Name | Description | |
---|---|---|
![]() | GUIGraphModel | Initializes a new instance of the GUIGraphModel class |
Name | Description | |
---|---|---|
![]() | Align |
Aligns the Widget in the parent GUI.
(Inherited from GUIWidgetModel.) |
![]() | AtlasPath |
Defines the texture atlas to be applied to the GUI object.
(Inherited from GUIViewBaseModel.) |
![]() | Attached |
Defines an attached property.
(Inherited from BaseModel.) |
![]() | BarWidth |
Defines the width of each bar for when the Graph type is Bar |
![]() | Color | (Inherited from GUIWidgetModel.) |
![]() | Comments |
(Development) Includes comments in the XML code.
(Inherited from BaseModel.) |
![]() ![]() | DataContext |
Contains a source of all bindings defined for element.
(Inherited from BaseModel.) |
![]() | Depth |
Defines the depth of the Widget.
(Inherited from GUIWidgetModel.) |
![]() | Description |
Displays a description of the object to the user.
(Inherited from TriggableModel.) |
![]() | EmphasisDuration |
Duration of an element's emphasizing in the scene.
(Inherited from ViewableModel.) |
![]() | ExternalXmlPath | (Inherited from BaseModel.) |
![]() | Fields | (Inherited from ScopeableModel.) |
![]() | FieldsSerialized | (Inherited from ScopeableModel.) |
![]() | FontPath |
Defines the font to be used on the GUI object.
(Inherited from GUIViewBaseModel.) |
![]() | GraphData |
Defines the list of GraphSeries in which the data are plotted into the Graph |
![]() | GUIGraphAxes |
Defines the X and Y GraphAxis and their settings to be shown in the Graph
|
![]() | GUIGraphPie |
Defines the data and settings for Pie Chart
|
![]() | Id |
Defines a unique identifier for an element in the simulation.
(Inherited from BaseModel.) |
![]() | ImageSource |
Defines the Image used by the GUI object.
(Inherited from GUIViewBaseModel.) |
![]() | InitialSize |
Defines the size in pixels of the Widget.
(Inherited from GUIWidgetModel.) |
![]() | IsIdAutogenerated | (Inherited from BaseModel.) |
![]() | IsScope | (Inherited from ScopeableModel.) |
![]() | IsVisible | (Inherited from ViewableModel.) |
![]() | MessageHandlers | (Inherited from ScopeableModel.) |
![]() | MessageHandlersSerialized | (Inherited from ScopeableModel.) |
![]() | Name |
(Obsolete) Refers to the GUI object.
(Inherited from GUIViewBaseModel.) |
![]() | Pivot |
Aligns the GUI object to its parent.
(Inherited from GUIViewBaseModel.) |
![]() | Position |
Defines the position of the GUI object relative to its parent.
(Inherited from GUIViewBaseModel.) |
![]() | Rotation |
Defines the Z-rotation of the GUI object relative to its parent (defaults to 0).
(Inherited from GUIViewBaseModel.) |
![]() | Source |
Defines the content source of the GUI object.
(Inherited from GUIViewBaseModel.) |
![]() ![]() | StateGroups |
Defines the possible StateGroup for this element.
(Inherited from StateableModel.) |
![]() | StateGroupsSerialized | (Inherited from StateableModel.) |
![]() | StyleId |
Defines the style identifier of the GUI object.
(Inherited from GUIViewBaseModel.) |
![]() | Tags | (Inherited from ViewableModel.) |
![]() | TemplateVersionId |
Contains a id of source template.
(Inherited from BaseModel.) |
![]() | Title |
Defines a title for the object.
(Inherited from TriggableModel.) |
![]() | TitleColor |
Defines the color of the Title text
|
![]() | TitleFontSize |
Defines the font size of the Title in the Axis
|
![]() | Triggers | (Inherited from TriggableModel.) |
![]() | TriggersSerialized |
Lists the available Triggers for
this object.
(Inherited from TriggableModel.) |
![]() | Type |
Defines the Type of the Graph |
![]() | WasShown |
(Internal use only) Returns true if the object has been shown in the simulation.
(Inherited from ViewableModel.) |
![]() | XmlComments |
(Development) Used as temporary storage for XML comments (like ) to keep them.
(Inherited from BaseModel.) |
Name | Description | |
---|---|---|
![]() | DeepCopy |
Creates an in-memory clone of this object using a BinaryFormatter to ensure all child properties are copied as well.
(Inherited from BaseModel.) |
![]() | ShallowCopy | (Inherited from BaseModel.) |
![]() | ShouldSerializeStateGroups | (Inherited from StateableModel.) |
![]() | ShouldSerializeTriggers | (Inherited from TriggableModel.) |
![]() | ToString |
Returns a string that represents the current object.
(Inherited from BaseModel.) |
![]() | UpdateModels |
This method will update this model and all its child models.
(Inherited from BaseModel.) |
<Graph Type="Bar" Title="Graph Test" TitleColor="Grey" Position="-200,60" Size="550,170" Align="BottomLeft" FontPath="OpenSansRegular" BarWidth="20" IsVisible="true"> <GraphAxes> <GraphAxisX Title="Axis X" Min="0" Max="1.0" Interval="0.2" TitleOffset="30" TitleColor="Yellow" LabelColor="Red" CustomLabels="Jan; Feb; Mar; Apr; May; June" /> <GraphAxisY Title="Axis Y" Min="0" Max="100" Interval="20" TitleOffset="40" TitleColor="Yellow" LabelColor="Red" /> </GraphAxes> <GraphData> <GraphSeries DataSource="{Binding Lookup.FakeContainer9.Contents, ElementId=Engine}" LineColor="Yellow" PointColor="Yellow" LineWidth="0.5" PointWidth="5"> <Values X="{Binding Viscosity}" Y="{Binding Amount}" /> </GraphSeries> <GraphSeries DataSource="{Binding Lookup.FakeContainer9.Contents, ElementId=Engine}" LineColor="Yellow" PointColor="Red" LineWidth="0.5" PointWidth="5"> <Values X="{Binding Viscosity}" Y="{Binding Amount}" /> </GraphSeries> </GraphData> </Graph>
For Example on Pie Chart see GUIGraphPieModel.