-
Notifications
You must be signed in to change notification settings - Fork 1.5k
/
ChartGraphics.xml
268 lines (261 loc) · 18.8 KB
/
ChartGraphics.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
<Type Name="ChartGraphics" FullName="System.Web.UI.DataVisualization.Charting.ChartGraphics">
<TypeSignature Language="C#" Value="public class ChartGraphics : System.Web.UI.DataVisualization.Charting.ChartElement" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit ChartGraphics extends System.Web.UI.DataVisualization.Charting.ChartElement" />
<TypeSignature Language="DocId" Value="T:System.Web.UI.DataVisualization.Charting.ChartGraphics" />
<TypeSignature Language="VB.NET" Value="Public Class ChartGraphics
Inherits ChartElement" />
<TypeSignature Language="F#" Value="type ChartGraphics = class
 inherit ChartElement" />
<TypeSignature Language="C++ CLI" Value="public ref class ChartGraphics : System::Web::UI::DataVisualization::Charting::ChartElement" />
<AssemblyInfo>
<AssemblyName>System.Web.DataVisualization</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Web.UI.DataVisualization.Charting.ChartElement</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<summary>Provides numerous conversion functions and exposes a GDI+ <see cref="T:System.Drawing.Graphics" /> object.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This class provides numerous conversion functions and also exposes a GDI+ <xref:System.Drawing.Graphics> object. Note that when rendering as Scalable Vector Graphics (SVG), use of the <xref:System.Drawing.Graphics> object for custom drawing will not be included as part of the SVG document.
Note also that, by default, <xref:System.Drawing.Graphics> functions usually take absolute coordinates. Therefore the conversion methods of this class should be useful if you perform drawing operations.
A <xref:System.Web.UI.DataVisualization.Charting.ChartGraphics> object is exposed in the <xref:System.Web.UI.DataVisualization.Charting.ChartPaintEventArgs.ChartGraphics%2A> property of the <xref:System.Web.UI.DataVisualization.Charting.ChartPaintEventArgs> class, which makes it easy to perform custom drawing in the <xref:System.Web.UI.DataVisualization.Charting.Chart.PrePaint> and <xref:System.Web.UI.DataVisualization.Charting.Chart.PostPaint> events.
> [!IMPORTANT]
> If significant changes are made to the default behavior of the <xref:System.Drawing.Graphics> object, the chart image and its associated elements may be drawn erratically. For example, positioning may be altered. It is highly recommended that you become well acquainted with GDI+ before you make any significant changes to the properties of the <xref:System.Drawing.Graphics> object.
]]></format>
</remarks>
</Docs>
<Members>
<Member MemberName="Dispose">
<MemberSignature Language="C#" Value="protected override void Dispose (bool disposing);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void Dispose(bool disposing) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.UI.DataVisualization.Charting.ChartGraphics.Dispose(System.Boolean)" />
<MemberSignature Language="VB.NET" Value="Protected Overrides Sub Dispose (disposing As Boolean)" />
<MemberSignature Language="F#" Value="override this.Dispose : bool -> unit" Usage="chartGraphics.Dispose disposing" />
<MemberSignature Language="C++ CLI" Value="protected:
 override void Dispose(bool disposing);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web.DataVisualization</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="disposing" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="disposing">
<see langword="true" /> to release both unmanaged and managed resources; <see langword="false" /> to release only unmanaged resources.</param>
<summary>Releases unmanaged and, optionally, managed resources.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GetAbsolutePoint">
<MemberSignature Language="C#" Value="public System.Drawing.PointF GetAbsolutePoint (System.Drawing.PointF point);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance valuetype System.Drawing.PointF GetAbsolutePoint(valuetype System.Drawing.PointF point) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.UI.DataVisualization.Charting.ChartGraphics.GetAbsolutePoint(System.Drawing.PointF)" />
<MemberSignature Language="VB.NET" Value="Public Function GetAbsolutePoint (point As PointF) As PointF" />
<MemberSignature Language="F#" Value="member this.GetAbsolutePoint : System.Drawing.PointF -> System.Drawing.PointF" Usage="chartGraphics.GetAbsolutePoint point" />
<MemberSignature Language="C++ CLI" Value="public:
 System::Drawing::PointF GetAbsolutePoint(System::Drawing::PointF point);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web.DataVisualization</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Drawing.PointF</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="point" Type="System.Drawing.PointF" />
</Parameters>
<Docs>
<param name="point">A <see cref="T:System.Drawing.PointF" /> object in relative coordinates.</param>
<summary>Takes a <see cref="T:System.Drawing.PointF" /> object and converts its relative coordinates to absolute coordinates.</summary>
<returns>A <see cref="T:System.Drawing.PointF" /> object in absolute coordinates.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GetAbsoluteRectangle">
<MemberSignature Language="C#" Value="public System.Drawing.RectangleF GetAbsoluteRectangle (System.Drawing.RectangleF rectangle);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance valuetype System.Drawing.RectangleF GetAbsoluteRectangle(valuetype System.Drawing.RectangleF rectangle) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.UI.DataVisualization.Charting.ChartGraphics.GetAbsoluteRectangle(System.Drawing.RectangleF)" />
<MemberSignature Language="VB.NET" Value="Public Function GetAbsoluteRectangle (rectangle As RectangleF) As RectangleF" />
<MemberSignature Language="F#" Value="member this.GetAbsoluteRectangle : System.Drawing.RectangleF -> System.Drawing.RectangleF" Usage="chartGraphics.GetAbsoluteRectangle rectangle" />
<MemberSignature Language="C++ CLI" Value="public:
 System::Drawing::RectangleF GetAbsoluteRectangle(System::Drawing::RectangleF rectangle);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web.DataVisualization</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Drawing.RectangleF</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="rectangle" Type="System.Drawing.RectangleF" />
</Parameters>
<Docs>
<param name="rectangle">A <see cref="T:System.Drawing.RectangleF" /> object in relative coordinates.</param>
<summary>Takes a <see cref="T:System.Drawing.RectangleF" /> object and converts its relative coordinates to absolute coordinates.</summary>
<returns>A <see cref="T:System.Drawing.RectangleF" /> object in absolute coordinates.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GetAbsoluteSize">
<MemberSignature Language="C#" Value="public System.Drawing.SizeF GetAbsoluteSize (System.Drawing.SizeF size);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance valuetype System.Drawing.SizeF GetAbsoluteSize(valuetype System.Drawing.SizeF size) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.UI.DataVisualization.Charting.ChartGraphics.GetAbsoluteSize(System.Drawing.SizeF)" />
<MemberSignature Language="VB.NET" Value="Public Function GetAbsoluteSize (size As SizeF) As SizeF" />
<MemberSignature Language="F#" Value="member this.GetAbsoluteSize : System.Drawing.SizeF -> System.Drawing.SizeF" Usage="chartGraphics.GetAbsoluteSize size" />
<MemberSignature Language="C++ CLI" Value="public:
 System::Drawing::SizeF GetAbsoluteSize(System::Drawing::SizeF size);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web.DataVisualization</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Drawing.SizeF</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="size" Type="System.Drawing.SizeF" />
</Parameters>
<Docs>
<param name="size">A <see cref="T:System.Drawing.SizeF" /> object in relative coordinates.</param>
<summary>Takes a <see cref="T:System.Drawing.SizeF" /> object that uses relative coordinates and returns a <see cref="T:System.Drawing.SizeF" /> object that uses absolute coordinates.</summary>
<returns>A <see cref="T:System.Drawing.SizeF" /> object in absolute coordinates.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GetPositionFromAxis">
<MemberSignature Language="C#" Value="public double GetPositionFromAxis (string chartAreaName, System.Web.UI.DataVisualization.Charting.AxisName axis, double axisValue);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance float64 GetPositionFromAxis(string chartAreaName, valuetype System.Web.UI.DataVisualization.Charting.AxisName axis, float64 axisValue) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.UI.DataVisualization.Charting.ChartGraphics.GetPositionFromAxis(System.String,System.Web.UI.DataVisualization.Charting.AxisName,System.Double)" />
<MemberSignature Language="VB.NET" Value="Public Function GetPositionFromAxis (chartAreaName As String, axis As AxisName, axisValue As Double) As Double" />
<MemberSignature Language="F#" Value="member this.GetPositionFromAxis : string * System.Web.UI.DataVisualization.Charting.AxisName * double -> double" Usage="chartGraphics.GetPositionFromAxis (chartAreaName, axis, axisValue)" />
<MemberSignature Language="C++ CLI" Value="public:
 double GetPositionFromAxis(System::String ^ chartAreaName, System::Web::UI::DataVisualization::Charting::AxisName axis, double axisValue);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web.DataVisualization</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Double</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="chartAreaName" Type="System.String" />
<Parameter Name="axis" Type="System.Web.UI.DataVisualization.Charting.AxisName" />
<Parameter Name="axisValue" Type="System.Double" />
</Parameters>
<Docs>
<param name="chartAreaName">Chart area name.</param>
<param name="axis">An <see cref="T:System.Web.UI.DataVisualization.Charting.AxisName" /> enumeration value that identifies the relevant axis.</param>
<param name="axisValue">The axis value to be converted to a relative pixel value.</param>
<summary>Takes a given axis value for a specified axis and returns the relative pixel value.</summary>
<returns>A <see langword="string" /> value that represents the converted axis value, in relative pixel coordinates.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GetRelativePoint">
<MemberSignature Language="C#" Value="public System.Drawing.PointF GetRelativePoint (System.Drawing.PointF point);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance valuetype System.Drawing.PointF GetRelativePoint(valuetype System.Drawing.PointF point) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.UI.DataVisualization.Charting.ChartGraphics.GetRelativePoint(System.Drawing.PointF)" />
<MemberSignature Language="VB.NET" Value="Public Function GetRelativePoint (point As PointF) As PointF" />
<MemberSignature Language="F#" Value="member this.GetRelativePoint : System.Drawing.PointF -> System.Drawing.PointF" Usage="chartGraphics.GetRelativePoint point" />
<MemberSignature Language="C++ CLI" Value="public:
 System::Drawing::PointF GetRelativePoint(System::Drawing::PointF point);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web.DataVisualization</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Drawing.PointF</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="point" Type="System.Drawing.PointF" />
</Parameters>
<Docs>
<param name="point">A <see cref="T:System.Drawing.PointF" /> object in absolute coordinates.</param>
<summary>Takes a <see cref="T:System.Drawing.PointF" /> object that uses absolute coordinates and returns a <see cref="T:System.Drawing.PointF" /> object that uses relative coordinates.</summary>
<returns>A <see cref="T:System.Drawing.PointF" /> object in relative coordinates.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GetRelativeRectangle">
<MemberSignature Language="C#" Value="public System.Drawing.RectangleF GetRelativeRectangle (System.Drawing.RectangleF rectangle);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance valuetype System.Drawing.RectangleF GetRelativeRectangle(valuetype System.Drawing.RectangleF rectangle) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.UI.DataVisualization.Charting.ChartGraphics.GetRelativeRectangle(System.Drawing.RectangleF)" />
<MemberSignature Language="VB.NET" Value="Public Function GetRelativeRectangle (rectangle As RectangleF) As RectangleF" />
<MemberSignature Language="F#" Value="member this.GetRelativeRectangle : System.Drawing.RectangleF -> System.Drawing.RectangleF" Usage="chartGraphics.GetRelativeRectangle rectangle" />
<MemberSignature Language="C++ CLI" Value="public:
 System::Drawing::RectangleF GetRelativeRectangle(System::Drawing::RectangleF rectangle);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web.DataVisualization</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Drawing.RectangleF</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="rectangle" Type="System.Drawing.RectangleF" />
</Parameters>
<Docs>
<param name="rectangle">A <see cref="T:System.Drawing.RectangleF" /> structure in absolute coordinates.</param>
<summary>Takes a <see cref="T:System.Drawing.RectangleF" /> structure that is using absolute coordinates and returns a <see cref="T:System.Drawing.RectangleF" /> object that uses relative coordinates.</summary>
<returns>A <see cref="T:System.Drawing.RectangleF" /> structure in relative coordinates.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GetRelativeSize">
<MemberSignature Language="C#" Value="public System.Drawing.SizeF GetRelativeSize (System.Drawing.SizeF size);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance valuetype System.Drawing.SizeF GetRelativeSize(valuetype System.Drawing.SizeF size) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.UI.DataVisualization.Charting.ChartGraphics.GetRelativeSize(System.Drawing.SizeF)" />
<MemberSignature Language="VB.NET" Value="Public Function GetRelativeSize (size As SizeF) As SizeF" />
<MemberSignature Language="F#" Value="member this.GetRelativeSize : System.Drawing.SizeF -> System.Drawing.SizeF" Usage="chartGraphics.GetRelativeSize size" />
<MemberSignature Language="C++ CLI" Value="public:
 System::Drawing::SizeF GetRelativeSize(System::Drawing::SizeF size);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web.DataVisualization</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Drawing.SizeF</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="size" Type="System.Drawing.SizeF" />
</Parameters>
<Docs>
<param name="size">A <see cref="T:System.Drawing.SizeF" /> object in absolute coordinates.</param>
<summary>Takes a <see cref="T:System.Drawing.SizeF" /> object in absolute coordinates and returns a <see cref="T:System.Drawing.SizeF" /> object that uses relative coordinates.</summary>
<returns>A <see cref="T:System.Drawing.SizeF" /> object in relative coordinates.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Graphics">
<MemberSignature Language="C#" Value="public System.Drawing.Graphics Graphics { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Drawing.Graphics Graphics" />
<MemberSignature Language="DocId" Value="P:System.Web.UI.DataVisualization.Charting.ChartGraphics.Graphics" />
<MemberSignature Language="VB.NET" Value="Public Property Graphics As Graphics" />
<MemberSignature Language="F#" Value="member this.Graphics : System.Drawing.Graphics with get, set" Usage="System.Web.UI.DataVisualization.Charting.ChartGraphics.Graphics" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::Drawing::Graphics ^ Graphics { System::Drawing::Graphics ^ get(); void set(System::Drawing::Graphics ^ value); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web.DataVisualization</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Drawing.Graphics</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets a GDI+ <see cref="T:System.Drawing.Graphics" /> object that can be used for drawing purposes.</summary>
<value>A <see cref="T:System.Drawing.Graphics" /> object used for drawing.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
You can use this object property to perform any custom drawing that can be performed using GDI+.
]]></format>
</remarks>
</Docs>
</Member>
</Members>
</Type>