Zedgraph attributes \ Method Introduction

Source: Internet
Author: User

Axischange ()-> This performs an axis change command on the graphpane.
Beendisposed-> This checks if the control has been disposed. This is synonymous with the graph pane having been nulled or disposed. Therefore this is the same as zedgraphcontrol. graphpane = NULL.
Borderstyle-> gets or sets the border style of the Tree View control. (inherited from usercontrol .)
Contextmenubuilder-> subscribe to this event to be able to modify the zedgraph context menu.
Copy (Boolean)-> copy the image to the clipboard.
Dopagesetup ()-> open the print Settings dialog box.
Doprint ()-> Print a chart.
Doprintpreview ()-> print preview.
Editbuttons-> gets or sets a value that determines which mouse button will be used to edit point data values
Editmodifierkeys-> gets or sets a value that determines which modifier keys will be used to edit point data values
Getimage ()-> return the image on the chart.
Graphpane-> gets or sets the graphpane property for the control
Isantialias-> gets or sets a value that determines if all drawing operations for this control will be forced to operate in anti-alias mode. note that if this value is set to "true", it overrides the setting for sub-objects. otherwise, the sub-object settings (such as isantialias) will be honored.
Isautoscrollrange-> gets or sets a value that controls whether or not the axis value range for the scroll bars will be set automatically.
Isenablehedit-> gets or sets a value that determines whether or not editing of point data is allowed in the horizontal direction.
Isenablehpan-> gets or sets a value that determines whether or not panning is allowed for the control in the horizontal direction.
Isenablehzoom-> whether to allow horizontal scaling.
Isenableselection-> gets or sets a value that determines whether or not selection is allowed for the control.
Isenablevedit-> gets or sets a value that determines whether or not editing of point data is allowed in the vertical direction.
Isenablevpan-> gets or sets a value that determines whether or not panning is allowed for the control in the vertical direction.
Isenablevzoom-> whether to allow vertical scaling.
Isenablezoom-> whether to allow scaling.
Isprintfillpage-> gets or sets a value that determines whether or not the masterpanerectdimensionsWill be expanded to fill the available space when printing this zedgraphcontrol.
Isprintkeepaspectratio-> gets or sets a value that determines whether or not the visible aspect ratio of the masterpanerectwill be preserved when printing this zedgraphcontrol.
Isprintscaleall-> gets or sets a value that determines whether the settings of isfontsscaled and ispenwidthscaled will be overridden to true during printing operations.
Isscrolling-> returns true if the user is currently scrolling via the scrollbar, or false if no scrolling is taking place.
Isscrolly2-> gets or sets a value that determines if the vertical scroll bar will affect the Y2 axis.
Isshowcontextmenu-> whether to display the right-click menu. If contextmenustrip is specified, the specified contextmenu is always displayed.
Isshowcopymessage-> whether to display prompt information when copying an image.
Isshowcursorvalues-> whether to display the coordinates of the point where the mouse is located when the mouse moves on the chart. The default value is false.
Isshowhscrollbar-> whether to display the horizontal scroll bar.
Isshowpointvalues-> indicates whether the bubble shows the value of the point when the cursor passes through the chart. The default value is false.
Isshowvscrollbar-> whether to display the vertical scroll bar.
Issynchronizexaxes-> gets or sets a value that determines if the xaxisscaleranges for all graphpane objects in the masterpane will be forced to match.
Issynchronizeyaxes-> gets or sets a value that determines if the yaxisscaleranges for all graphpane objects in the masterpane will be forced to match.
Iszoomonmousecenter-> use the scroll wheel to zoom in or out at the point where the mouse is located or in the image center.
Linkbuttons-> gets or sets a value that determines which mouse button will be used to click on linkable objects
Linkevent-> subscribe to this event to be able to respond to mouse clicks within linked objects.
Linkmodifierkeys-> gets or sets a value that determines which modifier keys will be used to click on linkable objects
Masterpane-> gets or sets the masterpane property for the control
Mousedownevent-> replaces the mousedown event. A return value of the bool type indicates whether to respond to the event.
Mouseupevent-> replaces the mouseup event. A return value of the bool type indicates whether to respond to the event.
Panbuttons-> gets or sets a value that determines which mouse button will be used as a primary option to trigger a pan event.
Panbuttons2-> gets or sets a value that determines which mouse button will be used as the secondary option to trigger a pan event.
Panmodifierkeys-> gets or sets a value that determines which modifier keys will be used as a primary option to trigger a pan event.
Panmodifierkeys2-> gets or sets a value that determines which modifier keys will be used as a secondary option to trigger a pan event.
Pointdateformat-> gets or sets the format for displaying tooltip values. This format is passed to tostring (string ).
Pointeditevent-> subscribe to this event to receive cation and/or respond after a data point has been edited via isenablehedit and isenablevedit.
Pointvalueevent-> subscribe to this event to provide custom formatting for the tooltips
Pointvalueformat-> gets or sets the format for displaying tooltip values. This format is passed to tostring (string ).
Printdocument-> gets or sets the printdocumentinstance that is used for all of the context menu printing functions.
Restorescale (graphpane)-> handler for the "set scale to default" context menu item. Sets the scale ranging to full auto mode for all axes.
Saveas ()-> the Save As dialog box is displayed.
Saveasbitmap ()-> Save As dialog box to save the image as a BMP file.
Saveasemf ()-> Save As dialog box to save the image as an EMF file.
Savefiledialog-> gets or sets the savefiledialog instance that will be used by the "Save as..." context menu item.
Scrolldoneevent-> subscribe to this event to be notified when the graphpane is scrolled by the user using the scrollbars.
Scrollevent-> subscribe to this event to be notified when the graphpane is scrolled by the user using the scrollbars.
Scrollgrace-> set a "Grace" value that leaves a buffer area around the data when isautoscrollrange is true.
Scrollmaxx-> the maximum value for the X axis scroll range.
Scrollmaxy-> the maximum value for the Y axis scroll range.
Scrollmaxy2-> the maximum value for the Y2 axis scroll range.
Scrollminx-> the minimum value for the X axis scroll range.
Scrollminy-> the minimum value for the Y axis scroll range.
Scrollminy2-> the minimum value for the Y2 axis scroll range.
Scrollprogressevent-> subscribe to this event to be notified when the graphpane is scrolled by the user using the scrollbars.
Selectappendmodifierkeys-> Gets or sets a value that determines which modifier keys will be used to append a curveitem to the selection list.
Selectbuttons-> gets or sets a value that determines which mouse button will be used to select curveitem's.
Selection-> readonly property that gets the list of selected curveitems
Selectmodifierkeys-> gets or sets a value that determines which modifier keys will be used to select curveitem's.
Setscrollrangefromdata ()-> sets the value of the scroll range properties (see scrollminx, scrollmaxx, yscrollrangelist, and y2scrollrangelist based on the actual range of the data for each corresponding axis.
Y2scrollrangelist-> access the scrollrangelist for the Y2 axes.
Yscrollrangelist-> access the scrollrangelist for the y axes.
Zoombuttons-> gets or sets a value that determines which mouse button will be used as a primary option to trigger a zoom event.
Zoombuttons2-> gets or sets a value that determines which mouse button will be used as the secondary option to trigger a zoom event.
Zoomevent-> subscribe to this event to be notified when the graphpane is zoomed or panned by the user, either via a mouse drag operation or by the context menu commands.
Zoommodifierkeys-> gets or sets a value that determines which modifier keys will be used as a primary option to trigger a zoom event.
Zoommodifierkeys2-> gets or sets a value that determines which modifier keys will be used as a secondary option to trigger a zoom event.
Zoomout (graphpane)-> handler for the "unzoom/UNPAN" context menu item. restores the scale ranges to the values before the last zoom, pan, or scroll operation.
Zoomoutall (graphpane)-> handler for the "undo all zoom/PAN" context menu item. restores the scale ranges to the values before all zoom and Pan operations
Zoompane (graphpane, double, pointf, Boolean)-> Zoom a specified pane in or out according to the specified zoom fraction.
Zoomstepfraction-> gets or sets the step size fraction for zooming with the mouse wheel. A value of 0.1 will result in a 10% zoom step for each mouse wheel movement.

Axis class axis Information
Member-> description
Axisgap-> the size of the gap between Multiple Axes (see yaxislist and y2axislist ).
Calcspace (graphics, graphpane, single, single %)-> calculate the space required (pixels) for this axis object.
Color-> the color to use for drawing this axis.
Cross-> gets or sets the scale value at which this axis shoshould cross the "other" axis.
Crossauto-> gets or sets a value that determines whether or not the cross value is set automatically.
Draw (graphics, graphpane, single, single)-> do all rendering associated with this axis to the specified Graphics Device.
Drawminortics (graphics, graphpane, double, single, single)-> draw the minor tic marks as required for this axis.
Drawtitle (graphics, graphpane, single, single)-> draw the title for this axis.
Getcrossaxis (graphpane)-> gets the "Cross" axis that corresponds to this axis.
Getobjectdata (serializationinfo, streamingcontext)-> populates A serializationinfoinstancE with the data needed to serialize the target object
Isaxissegmentvisible-> gets or sets a property that determines whether or not the axis segment (the line that represents the axis itself) is drawn.
Isvisible-> visible or not.
Majorgrid-> see the following content.
Majortic-> see the following content.
Minorgrid-> see the following content.
Minortic-> see the following content.
Minspace-> gets or sets the minimum axis space allocation.
Resetautoscale (graphpane, graphics)-> restore the scale ranging to automatic mode, and recalculate the axis scale ranges
Scale-> gets the scale instance associated with this axis.
Scaleformatevent-> subscribe to this event to handle custom formatting of the scale labels.
Scaletitleevent-> allow customization of the title when the scale is very large subscribe to this event to handle custom formatting of the scale axis label.
Setminspacebuffer (graphics, graphpane, single, Boolean)-> This method will set the minspace property for this axis using the currently required space multiplied by a fraction ().
Settransformmatrix (graphics, graphpane, single)-> setup the transform matrix to handle drawing of this axis
Icloneable...: Clone ()()
Implement the icloneableinterface in a typesafe manner by just calling the typed version of clone.
Tag
A tag object for use by the user. This can be used to store additional information associated with the axis. zedgraph does not use this value for any purpose.
Title
Gets or sets the label class that contains the title of this axis.
Type
Gets or sets the axistype for this axis.

Minorgrid \ majorgrid small scale and dotted line of the big scale are displayed in the chart to separate the chart. The default isvisible value is false, and the effect is not displayed.
Member-> description
Color-> the color of the line.
Dashoff-> interval between the point and the point.
Dashon-> the point length.
Isvisible-> visible or not.
Penwidth-> paint width.

Minortic \ majortic axis on the small scale and big scale line settings.
Member-> description
Color-> the color of the dial.
Isalltics-> This is convenience Property sets the status of all the different tic properties in this instance to the same value. True to activate all tics, false to clear all tics.
Iscrossinside-> gets or sets the display mode for the Axis major inside "Cross" tic marks.
Iscrossoutside-> gets or sets the display mode for the Axis major outside "Cross" tic marks.
Isinside-> whether the scale bar should be displayed in the axis.
Isopposite-> whether the scale is displayed on the opposite axis.
Isoutside-> whether the scale bar must be displayed outside the coordinate axis.
Penwidth-> paint width.
Scaledtic (single)-> calculate the scaled tic size for this axis
Size-> the length of the dial.

Scale scale value correlation
Member-> description
Align-> controls the alignment of the Axis tic labels.
Alignh-> controls the alignment of the Axis tic labels.
Basetic-> the value of the first scale.
Calcmaxlabels (graphics, graphpane, single)-> calculate the maximum number of labels that will fit on this axis.
Delinearize (double)-> convert a value from its linear equivalent to its actual scale value for this type of scale.
Exponent-> gets or sets the scale exponent value. This only applies to exponent.
Fontspec-> font attribute of the scale value.
Format-> Format of the scale value, string type.
If formatauto-> is set to true, the format attribute is automatically set. Note that when the format attribute is set, the attribute is automatically set to false.
Getclusterwidth (graphpane)-> determine the width, in pixel units, of each bar cluster including the cluster gaps and bar gaps.
Getclusterwidth (double)-> calculates the cluster width, in pixels, by transforming the specified clusterscalewidth.
Isanyordinal-> gets a value that indicates if this scale is of any of the Ordinal types in the axistype enumeration.
Isdate-> whether it is a date.
Isexponent-> true if this scale is exponent, false otherwise.
Islabelsinside-> whether the coordinate label is displayed inside the coordinate axis.
Islog-> true if this scale is log, false otherwise.
Isordinal-> true if this scale is ordinal, false otherwise.
Ispreventlabeloverlap-> gets or sets a Boolean value that determines if zedgraph will check to see if the axis scale labels are close enough to overlap. if so, zedgraph will adjust the step size to prevent overlap.
Isreverse-> the scale is flipped by 0, and the chart is also flipped.
Isskipcrosslabel-> do not display the intersection label.
Isskipfirstlabel-> do not display the first scale label.
Isskiplastlabel-> does not display the last label.
Istext-> whether the returned scale value is of the text type (read-only)
Isusetenpower-> indicates whether it is a 10-power representation. This parameter is valid when the scale is logscale. The powers-of-ten notation is just the text "10" followed by a superscripted value indicating the magnating. this mode is only valid for log scales. boolean value; true to show the title as a power of ten, false to show a regular numeric value (e.g ., "0.01", "10", "1000 ")
Isvisible-> visible or not.
Labelgap-> the gap between the scale labels and the tics.
Linearize (double)-> convert a value to its linear equivalent for this type of scale.
Localtransform (double)-> transform the coordinate value from user coordinates (scale value) to Graphics Device coordinates (pixels ).
Mag-> If the value of the coordinate axis must be displayed in a power of 10, this value is set to a power. If the value is 0, the power is not used for 10 times.
Magauto-> whether to apply the 10-power display automatically
Majorstep-> large scale step value.
Majorstepauto-> automatically sets the step size of a large scale.
Majorunit-> gets or sets the type of units used for the major step size (majorstep ).
Makenewscale (scale, axistype)-> A construction method that creates a new scale object using the properties of an existing scale object, but specifying a new axistype.
Max-> the maximum scale value displayed by default (a value greater than this value is displayed during scaling)
Maxauto-> automatically sets the maximum scale value.
Maxgrace-> gets or sets the "Grace" value applied to the maximum data range.
Min-> the minimum scale value displayed by default (smaller than the scale value will be displayed)
Minauto-> automatically sets the minimum scale value.
Mingrace-> gets or sets the "Grace" value applied to the minimum data range.
Minorstep-> small scale step value.
Minorstepauto-> whether to automatically set the step size of the small scale.
Minorunit-> gets or sets the type of units used for the minor step size (minorstep ).
Pickscale (graphpane, graphics, single)-> select a reasonable scale given a range of data values.
Reversetransform (single)-> reverse transform the user coordinates (scale value) given a graphics device coordinate (pixels ).
Setupscaledata (graphpane, axis)-> setup some temporary transform values in preparation for rendering the axis.
Textlabels-> the text labels for this axis.
Transform (double)-> transform the coordinate value from user coordinates (scale value) to Graphics Device coordinates (pixels ).
Transform (Boolean, int32, double)-> transform the coordinate value from user coordinates (scale value) to Graphics Device coordinates (pixels ).
Type-> obtain the scale type (read-only ).

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.