[]
Represents a FarPoint Chart Web Control. It displays a chart image.
[Themeable(true)]
[ToolboxBitmap(typeof(FpChart), "Source.FpChart.ico")]
public class FpChart : WebControl, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IAttributeAccessor, IPostBackEventHandler, IPostBackDataHandler
<Themeable(True)>
<ToolboxBitmap(GetType(FpChart), "Source.FpChart.ico")>
Public Class FpChart
Inherits WebControl
Implements IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IAttributeAccessor, IPostBackEventHandler, IPostBackDataHandler
Name | Description |
---|---|
FpChart() | Initializes a new instance of the FpChart class. |
Name | Description |
---|---|
AlternateText | Gets or sets the alternate text displayed in the FpChart control when the image is unavailable. Browsers that support the ToolTip feature display this text as a ToolTip. |
AutoGenerateMapAreaToolTip | Gets or sets a value that indicates whether the tooltip of the map area is generated automatically. |
ChartImageType | Gets or sets the format of the output image. |
DescriptionUrl | Gets or sets control DescriptionUrl property. |
EnableClickEvent | Gets or sets a value that indicates whether the Click event can be used. |
GenerateEmptyAlternateText | Gets or sets a value that indicates whether the control generates an alternate text attribute for an empty string value. |
Height | Gets or sets the height of the chart in pixels. |
HotSpotMode | Gets or sets the default behavior for the HotSpot objects of an FpChart control when the HotSpot objects are clicked. |
ImageAlign | Gets or sets the alignment of the image within the text flow. |
ImageRender | Gets or sets the image renderer. |
InstanceGuid | Gets a guid that uniquely identifies the chart component. |
JpegQuality | Gets or sets the image quality of the FpChart control when the ChartImageType is Jpeg. |
Model | Gets or sets the ChartModel. |
RenderMapArea | Gets or sets a value that indicates whether to output the image map. |
ViewType | Gets or sets the ChartViewType of the chart. |
Visible | Gets or sets a value that indicates whether an FpChart is rendered as UI on the page. |
Width | Gets or sets the width of the chart in pixels. |
Name | Description |
---|---|
CreateChart2DRenderer() | Creates a chart renderer in 2D. |
CreateChart3DRenderer() | Creates a chart renderer in 3D. |
Dispose() | Enables the FpChart control to perform final clean up before it is released from memory. |
GetMapAreaPostBackClientHyperlink(MapArea) | Gets the map area post back client hyperlink. |
HitTest(MapAreaInfo) | Returns HitTest information using the MapAreaInfo object. |
HitTest(float, float) | Returns HitTest information using the click coordinates on the Chart image. |
LoadFromTemplate(Stream) | Loads a chart model and the chart view type from a template in the specified stream. |
LoadPostData(string, NameValueCollection) | Override the LoadPostData function to customize the implementation of IPostBackDataHandler.LoadPostData. |
LoadViewState(object) | Restores view-state information from a previous page request that was saved by the SaveViewState method. |
OnBeforeRenderMapAreas(BeforeRenderMapAreasEventArgs) | Raises the BeforeRenderMapAreas event of the FpChart control. |
OnClick(ImageClickEventArgs) | Raises the ImageClick event of the FpChart control. |
OnInit(EventArgs) | Raises the Init event. |
OnLoad(EventArgs) | OnLoad |
OnMapAreaClick(MapAreaClickEventArgs) | Raises the MapAreaClick event of the FpChart control. |
OnPreRender(EventArgs) | Registers the script reference if it is needed and raises the PreRender event. |
OnUnload(EventArgs) | OnUnload |
RaisePostBackEvent(string) | Notifies the server control that caused the postback that it should handle an incoming post back event. Implements IPostBackEventHandler. |
RaisePostDataChangedEvent() | Override the RaisePostDataChangedEvent function to customize the implementation of IPostBackDataHandler.RaisePostDataChangedEvent. |
Render(HtmlTextWriter) | Sends the FpChart control content to a provided HtmlTextWriter object, which writes the content to be rendered on the client. |
RenderAreaMaps(HtmlTextWriter) | Renders image maps. |
RenderImage() | Renders the chart as a bitmap, and raises the Paint event if raisePaintEvent is true. |
RenderImage(bool) | Renders the image. |
RenderImage(Stream) | Renders the chart model image to a stream. |
RenderImage(Stream, bool) | Renders the image. |
RenderImageClickClientScript(HtmlTextWriter) | Renders client script for the image click event. |
SaveToTemplate(Stream) | Saves the chart model and view type to a template in the specified stream. |
SaveViewState() | Saves FpChart view state changes that have occurred since the page was posted back to the server. |
Name | Description |
---|---|
BeforeRenderMapAreas | Occurs before the control renders the map area to HTML. |
Click | Occurs when the chart image is clicked. |
MapAreaClick | Occurs when a map area is clicked. |