class KPlotPoint |
|
|
KPlotPoint Encapsulates a point in the plot. A KPlotPoint consists of X and Y coordinates (in Data units), an optional label string, and an optional bar-width, The bar-width is only used for plots of type KPlotObject.Bars, and it allows the width of each bar to be set manually. If bar-widths are omitted, then the widths will be set automatically, based on the halfway-mark between adjacent points. |
|
Default constructor. |
|
Constructor. Sets the KPlotPoint according to the given arguments x - the X-position for the point, in Data units y - the Y-position for the point, in Data units label - the label string for the point. If the string is defined, the point will be labeled in the plot. width - the bar width to use for this point (only used for plots of type KPlotObject.Bars) |
|
Constructor. Sets the KPlotPoint according to the given arguments p - the position for the point, in Data units label - the label string for the point. If the string is defined, the point will be labeled in the plot. width - the bar width to use for this point (only used for plots of type KPlotObject.Bars) |
|
|
Returns the bar-width for the point |
|
Returns the label for the point |
|
Returns the position of the point, in data units |
|
Set the bar-width for the point |
|
Set the label for the point |
|
Set the position of the point, in data units pos - the new position for the point. |
|
Set the X-position of the point, in Data units |
|
Set the Y-position of the point, in Data units |
|
Returns the X-position of the point, in data units |
|
Returns the Y-position of the point, in data units |