$PBExportHeader$u_gr.sru $PBExportComments$Base Graph Object forward global type u_gr from graph end type end forward global type u_gr from graph integer width = 1006 integer height = 720 boolean border = true grgraphtype graphtype = colgraph! long textcolor = 33554432 integer spacing = 100 string title = "(None)" integer depth = 100 grlegendtype legend = atbottom! borderstyle borderstyle = stylelowered! boolean focusrectangle = false grsorttype seriessort = ascending! grsorttype categorysort = ascending! end type global u_gr u_gr type variables Public: //Size Order Long #SizeOrder //Anchoring Boolean #AnchorTop Boolean #AnchorLeft Boolean #AnchorRight Boolean #AnchorBottom //Docking Boolean #Dock //Dock Padding Long #DockType, #DockPadTop, #DockPadLeft, #DockPadRight, #DockPadBottom //Dock control reference String #Dock_Control_Top, #Dock_Control_Left, #Dock_Control_Right, #Dock_Control_Bottom Private: str_resize istr_resize end variables forward prototypes public function str_resize of_getresizeattrib () end prototypes public function str_resize of_getresizeattrib ();istr_resize.Control = this istr_resize.ControlName = ClassName(this) istr_resize.SizeOrder = #SizeOrder istr_resize.SizeOrder = #SizeOrder istr_resize.Dock = #Dock istr_resize.DockType = #DockType istr_resize.DockPadTop = #DockPadTop istr_resize.DockPadLeft = #DockPadLeft istr_resize.DockPadRight = #DockPadRight istr_resize.DockPadBottom = #DockPadBottom istr_resize.AnchorTop = #AnchorTop istr_resize.AnchorLeft = #AnchorLeft istr_resize.AnchorRight = #Anchorright istr_resize.AnchorBottom = #Anchorbottom istr_resize.reftop = #Dock_Control_top istr_resize.refleft = #Dock_Control_left istr_resize.refright = #Dock_Control_right istr_resize.refbottom = #Dock_Control_bottom istr_resize.bounds.left = X istr_resize.bounds.top = Y istr_resize.bounds.right = width istr_resize.bounds.bottom = height RETURN istr_resize end function on u_gr.create TitleDispAttr = create grDispAttr LegendDispAttr = create grDispAttr PieDispAttr = create grDispAttr Series = create grAxis Series.DispAttr = create grDispAttr Series.LabelDispAttr = create grDispAttr Category = create grAxis Category.DispAttr = create grDispAttr Category.LabelDispAttr = create grDispAttr Values = create grAxis Values.DispAttr = create grDispAttr Values.LabelDispAttr = create grDispAttr TitleDispAttr.Weight=700 TitleDispAttr.FaceName="Arial" TitleDispAttr.FontCharSet=DefaultCharSet! TitleDispAttr.FontFamily=Swiss! TitleDispAttr.FontPitch=Variable! TitleDispAttr.Alignment=Center! TitleDispAttr.BackColor=536870912 TitleDispAttr.Format="[General]" TitleDispAttr.DisplayExpression="title" TitleDispAttr.AutoSize=true Category.Label="(None)" Category.AutoScale=true Category.ShadeBackEdge=true Category.SecondaryLine=transparent! Category.MajorGridLine=transparent! Category.MinorGridLine=transparent! Category.DropLines=transparent! Category.OriginLine=transparent! Category.MajorTic=Outside! Category.DataType=adtText! Category.DispAttr.Weight=400 Category.DispAttr.FaceName="Arial" Category.DispAttr.FontCharSet=DefaultCharSet! Category.DispAttr.FontFamily=Swiss! Category.DispAttr.FontPitch=Variable! Category.DispAttr.Alignment=Center! Category.DispAttr.BackColor=536870912 Category.DispAttr.Format="[General]" Category.DispAttr.DisplayExpression="category" Category.DispAttr.AutoSize=true Category.LabelDispAttr.Weight=400 Category.LabelDispAttr.FaceName="Arial" Category.LabelDispAttr.FontCharSet=DefaultCharSet! Category.LabelDispAttr.FontFamily=Swiss! Category.LabelDispAttr.FontPitch=Variable! Category.LabelDispAttr.Alignment=Center! Category.LabelDispAttr.BackColor=536870912 Category.LabelDispAttr.Format="[General]" Category.LabelDispAttr.DisplayExpression="categoryaxislabel" Category.LabelDispAttr.AutoSize=true Values.Label="(None)" Values.AutoScale=true Values.SecondaryLine=transparent! Values.MajorGridLine=transparent! Values.MinorGridLine=transparent! Values.DropLines=transparent! Values.MajorTic=Outside! Values.DataType=adtDouble! Values.DispAttr.Weight=400 Values.DispAttr.FaceName="Arial" Values.DispAttr.FontCharSet=DefaultCharSet! Values.DispAttr.FontFamily=Swiss! Values.DispAttr.FontPitch=Variable! Values.DispAttr.Alignment=Right! Values.DispAttr.BackColor=536870912 Values.DispAttr.Format="[General]" Values.DispAttr.DisplayExpression="value" Values.DispAttr.AutoSize=true Values.LabelDispAttr.Weight=400 Values.LabelDispAttr.FaceName="Arial" Values.LabelDispAttr.FontCharSet=DefaultCharSet! Values.LabelDispAttr.FontFamily=Swiss! Values.LabelDispAttr.FontPitch=Variable! Values.LabelDispAttr.Alignment=Center! Values.LabelDispAttr.BackColor=536870912 Values.LabelDispAttr.Format="[General]" Values.LabelDispAttr.DisplayExpression="valuesaxislabel" Values.LabelDispAttr.AutoSize=true Values.LabelDispAttr.Escapement=900 Series.Label="(None)" Series.AutoScale=true Series.SecondaryLine=transparent! Series.MajorGridLine=transparent! Series.MinorGridLine=transparent! Series.DropLines=transparent! Series.OriginLine=transparent! Series.MajorTic=Outside! Series.DataType=adtText! Series.DispAttr.Weight=400 Series.DispAttr.FaceName="Arial" Series.DispAttr.FontCharSet=DefaultCharSet! Series.DispAttr.FontFamily=Swiss! Series.DispAttr.FontPitch=Variable! Series.DispAttr.BackColor=536870912 Series.DispAttr.Format="[General]" Series.DispAttr.DisplayExpression="series" Series.DispAttr.AutoSize=true Series.LabelDispAttr.Weight=400 Series.LabelDispAttr.FaceName="Arial" Series.LabelDispAttr.FontCharSet=DefaultCharSet! Series.LabelDispAttr.FontFamily=Swiss! Series.LabelDispAttr.FontPitch=Variable! Series.LabelDispAttr.Alignment=Center! Series.LabelDispAttr.BackColor=536870912 Series.LabelDispAttr.Format="[General]" Series.LabelDispAttr.DisplayExpression="seriesaxislabel" Series.LabelDispAttr.AutoSize=true LegendDispAttr.Weight=400 LegendDispAttr.FaceName="Arial" LegendDispAttr.FontCharSet=DefaultCharSet! LegendDispAttr.FontFamily=Swiss! LegendDispAttr.FontPitch=Variable! LegendDispAttr.BackColor=536870912 LegendDispAttr.Format="[General]" LegendDispAttr.DisplayExpression="series" LegendDispAttr.AutoSize=true PieDispAttr.Weight=400 PieDispAttr.FaceName="Arial" PieDispAttr.FontCharSet=DefaultCharSet! PieDispAttr.FontFamily=Swiss! PieDispAttr.FontPitch=Variable! PieDispAttr.BackColor=536870912 PieDispAttr.Format="[General]" PieDispAttr.DisplayExpression="if(seriescount > 1, series,string(percentofseries,~"0.00%~"))" PieDispAttr.AutoSize=true end on on u_gr.destroy destroy TitleDispAttr destroy LegendDispAttr destroy PieDispAttr destroy Series.DispAttr destroy Series.LabelDispAttr destroy Series destroy Category.DispAttr destroy Category.LabelDispAttr destroy Category destroy Values.DispAttr destroy Values.LabelDispAttr destroy Values end on
- Sources
- Kodigo
- OpenExplorer
- u_gr.sru
File: u_gr.sru
Size: 6969
Date: Mon, 07 Apr 2008 21:30:48 +0200
Size: 6969
Date: Mon, 07 Apr 2008 21:30:48 +0200