|
new void | Init () |
| Initializes the graph, and should always be done before anything else, called automatically in Start(), but it never hurts to call this manually after instantiating a graph prefab. More...
|
|
new void | Refresh () |
| Refreshes the graph, and happens automatically in Update(), but sometimes it is useful or necessary to call this manually, note that refresh updates only the parts of the graph affected by properties that have changed since a last refresh. More...
|
|
void | dataSeriesColorsChanged (bool editorChange, bool countChanged, bool oneValChanged, int index) |
|
void | labelStringsChanged (bool editorChange, bool countChanged, bool oneValChanged, int index) |
|
void | GridsChanged () |
|
void | DataSeriesChanged () |
|
void | LabelsChanged () |
|
new void | GraphChanged () |
|
int | getMaxNumPoints () |
| The max number of points across all series. More...
|
|
int | getMaxSeriesBarCount () |
| The max number of bars across all series. More...
|
|
int | NumComboBarSeries () |
| The number of series that are combo bar series. More...
|
|
delegate void | GraphBackgroundChangedHandler (WMG_Axis_Graph aGraph) |
|
void | Init () |
| Initializes the graph, and should always be done before anything else, called automatically in Start(), but it never hurts to call this manually after instantiating a graph prefab. More...
|
|
void | Refresh () |
| Refreshes the graph, and happens automatically in Update(), but sometimes it is useful or necessary to call this manually, note that refresh updates only the parts of the graph affected by properties that have changed since a last refresh. More...
|
|
void | ManualResize () |
| Useful if resizeEnabled = false, and you want to resize graph content manually by calling this when you want. More...
|
|
void | SeriesChanged (bool countChanged, bool instant) |
| Happens when a series points changed, this should not be used outside of Graph Maker code. More...
|
|
void | aSeriesPointsChanged () |
| Happens when a series points changed, this should not be used outside of Graph Maker code. More...
|
|
void | GraphChanged () |
| Happens when various elements of the graph has changed, this should not be used outside of Graph Maker code. More...
|
|
void | setOriginalPropertyValues () |
| Caches initial property values that are used as the basis for resizeEnabled functionality. More...
|
|
void | UpdateOrientation () |
| Updates the graph orientation, this should not be used outside of Graph Maker code. More...
|
|
void | InEditorUpdate () |
| Update called from Editor window, should not be used outside of Graph Maker code. More...
|
|
float | getDistBetween (int pointsCount, float theAxisLength) |
|
void | changeAllLinePivots (WMGpivotTypes newPivot) |
|
List< Vector3 > | getSeriesScaleVectors (bool useLineWidthForX, float x, float y) |
|
float | getMaxPointSize () |
|
void | animScaleAllAtOnce (bool isPoint, float duration, float delay, Ease anEaseType, List< Vector3 > before, List< Vector3 > after) |
| Animate all the points in all the series simultaneously. More...
|
|
void | animScaleBySeries (bool isPoint, float duration, float delay, Ease anEaseType, List< Vector3 > before, List< Vector3 > after) |
| Animate all the points in a single series simultaneously, and then proceed to the next series. More...
|
|
void | animScaleOneByOne (bool isPoint, float duration, float delay, Ease anEaseType, List< Vector3 > before, List< Vector3 > after, int loopDir) |
| Animate the points across multiple series simultaneously, and then proceed to the next points. More...
|
|
WMG_Series | addSeries () |
| Create a new series and append it to the end. More...
|
|
void | deleteSeries () |
| Delete the last series. More...
|
|
WMG_Series | addSeriesAt (int index, WMG_Series.comboTypes comboType=WMG_Series.comboTypes.line) |
| Create a new series and insert it at the specified index. More...
|
|
void | deleteSeriesAt (int index) |
| Delete a series at the specified index. More...
|
|
List< WMG_Node > | getXAxisTicks () |
| Obsolete. More...
|
|
List< WMG_Node > | getXAxisLabels () |
| Obsolete. More...
|
|
List< WMG_Node > | getYAxisTicks () |
| Obsolete. More...
|
|
List< WMG_Node > | getYAxisLabels () |
| Obsolete. More...
|
|
GameObject | CreateNode (Object prefabNode, GameObject parent) |
| Creates a node for this graph. More...
|
|
GameObject | CreateLink (WMG_Node fromNode, GameObject toNode, Object prefabLink, GameObject parent) |
| Creates a link for this graph, and repositions the link. More...
|
|
GameObject | CreateLinkNoRepos (WMG_Node fromNode, GameObject toNode, Object prefabLink, GameObject parent) |
| Creates a link for this graph, and does not repoisition the link. More...
|
|
WMG_Link | GetLink (WMG_Node fromNode, WMG_Node toNode) |
| Given two nodes, get the link between those nodes for this graph. More...
|
|
GameObject | ReplaceNodeWithNewPrefab (WMG_Node theNode, Object prefabNode) |
| Given a node, and a prefab, re-instantiate the node using the specified prefab which has a WMG_Node script attached. More...
|
|
void | DeleteNode (WMG_Node theNode) |
| Deletes a node. More...
|
|
void | DeleteLink (WMG_Link theLink) |
| Deletes a link. More...
|
|
List< WMG_Link > | FindShortestPathBetweenNodes (WMG_Node fromNode, WMG_Node toNode) |
| Given two nodes return one or more shortest paths between the nodes based on the number of links (unweighted), using Breadth-first search algorithm. More...
|
|
List< WMG_Link > | FindShortestPathBetweenNodesWeighted (WMG_Node fromNode, WMG_Node toNode, bool includeRadii) |
| Given two nodes return one or more shortest paths between the nodes based on the link weights (weighted), and also node radii if include radii is true, using Dijkstra's algorithm. More...
|
|
delegate void | WMG_Click_H (WMG_Series aSeries, WMG_Node aNode, PointerEventData pointerEventData) |
|
void | addNodeClickEvent (GameObject go) |
|
delegate void | WMG_Link_Click_H (WMG_Series aSeries, WMG_Link aLink, PointerEventData pointerEventData) |
|
void | addLinkClickEvent (GameObject go) |
|
delegate void | WMG_Click_Leg_H (WMG_Series aSeries, WMG_Node aNode, PointerEventData pointerEventData) |
|
void | addNodeClickEvent_Leg (GameObject go) |
|
delegate void | WMG_Link_Click_Leg_H (WMG_Series aSeries, WMG_Link aLink, PointerEventData pointerEventData) |
|
void | addLinkClickEvent_Leg (GameObject go) |
|
delegate void | WMG_Pie_Slice_Click_H (WMG_Pie_Graph pieGraph, WMG_Pie_Graph_Slice aSlice, PointerEventData pointerEventData) |
|
void | addPieSliceClickEvent (GameObject go) |
|
delegate void | WMG_Pie_Legend_Entry_Click_H (WMG_Pie_Graph pieGraph, WMG_Legend_Entry legendEntry, PointerEventData pointerEventData) |
|
void | addPieLegendEntryClickEvent (GameObject go) |
|
delegate void | WMG_Ring_Click_H (WMG_Ring ring, PointerEventData pointerEventData) |
|
void | addRingClickEvent (GameObject go) |
|
delegate void | WMG_MouseEnter_H (WMG_Series aSeries, WMG_Node aNode, bool state) |
|
void | addNodeMouseEnterEvent (GameObject go) |
|
delegate void | WMG_Link_MouseEnter_H (WMG_Series aSeries, WMG_Link aLink, bool state) |
|
void | addLinkMouseEnterEvent (GameObject go) |
|
delegate void | WMG_MouseEnter_Leg_H (WMG_Series aSeries, WMG_Node aNode, bool state) |
|
void | addNodeMouseEnterEvent_Leg (GameObject go) |
|
delegate void | WMG_Link_MouseEnter_Leg_H (WMG_Series aSeries, WMG_Link aLink, bool state) |
|
void | addLinkMouseEnterEvent_Leg (GameObject go) |
|
delegate void | WMG_Pie_Slice_MouseEnter_H (WMG_Pie_Graph pieGraph, WMG_Pie_Graph_Slice aSlice, bool state) |
|
void | addPieSliceMouseEnterEvent (GameObject go) |
|
delegate void | WMG_Ring_MouseEnter_H (WMG_Ring ring, bool state) |
|
void | addRingMouseEnterEvent (GameObject go) |
|
void | addNodeMouseLeaveEvent (GameObject go) |
|
void | addLinkMouseLeaveEvent (GameObject go) |
|
void | addNodeMouseLeaveEvent_Leg (GameObject go) |
|
void | addLinkMouseLeaveEvent_Leg (GameObject go) |
|
void | SetActive (GameObject obj, bool state) |
|
bool | activeInHierarchy (GameObject obj) |
|
void | SetActiveAnchoredSprite (GameObject obj, bool state) |
|
void | SetActiveImage (GameObject obj, bool state) |
|
Texture2D | getTexture (GameObject obj) |
|
void | setTexture (GameObject obj, Sprite sprite) |
|
void | changeSpriteFill (GameObject obj, float fill) |
|
void | changeRadialSpriteRotation (GameObject obj, Vector3 newRot) |
|
void | changeSpriteColor (GameObject obj, Color aColor) |
|
void | changeSpriteAlpha (GameObject obj, float alpha) |
|
float | getSpriteAlpha (GameObject obj) |
|
void | changeSpriteWidth (GameObject obj, int aWidth) |
|
void | changeSpriteHeight (GameObject obj, int aHeight) |
|
void | setTextureMaterial (GameObject obj, Material aMat) |
|
Material | getTextureMaterial (GameObject obj) |
|
void | changeSpriteSize (GameObject obj, int aWidth, int aHeight) |
|
void | changeSpriteSizeFloat (GameObject obj, float aWidth, float aHeight) |
|
Vector2 | getSpriteSize (GameObject obj) |
|
void | changeBarWidthHeight (GameObject obj, int aWidth, int aHeight) |
|
float | getSpriteWidth (GameObject obj) |
|
float | getSpriteHeight (GameObject obj) |
|
float | getTextWidth (GameObject obj) |
|
float | getTextHeight (GameObject obj) |
|
void | forceUpdateText (GameObject obj) |
|
void | setAnchor (GameObject go, Vector2 anchor, Vector2 pivot, Vector2 anchoredPosition) |
|
void | setAnchoredPosition (GameObject go, Vector2 anchoredPosition) |
|
void | stretchToParent (GameObject go) |
|
bool | rectIntersectRect (GameObject r1, GameObject r2) |
|
void | getRectDiffs (GameObject child, GameObject container, ref Vector2 xDif, ref Vector2 yDif) |
|
float | getSpritePositionX (GameObject obj) |
|
float | getSpritePositionY (GameObject obj) |
|
Vector2 | getSpritePositionXY (GameObject obj) |
|
float | getSpritePivotTopToBot (GameObject obj) |
|
Vector3 | getPositionRelativeTransform (GameObject obj, GameObject relative) |
|
void | changePositionByRelativeTransform (GameObject obj, GameObject relative, Vector2 delta) |
|
void | changeSpritePositionTo (GameObject obj, Vector3 newPos) |
|
void | changeSpritePositionToX (GameObject obj, float newPos) |
|
void | changeSpritePositionToY (GameObject obj, float newPos) |
|
Vector2 | getChangeSpritePositionTo (GameObject obj, Vector2 newPos) |
|
void | changeSpritePositionRelativeToObjBy (GameObject obj, GameObject relObj, Vector3 changeAmt) |
|
void | changeSpritePositionRelativeToObjByX (GameObject obj, GameObject relObj, float changeAmt) |
|
void | changeSpritePositionRelativeToObjByY (GameObject obj, GameObject relObj, float changeAmt) |
|
Vector2 | getSpritePivot (GameObject obj) |
|
void | changeSpriteParent (GameObject child, GameObject parent) |
|
void | getFirstCanvasOnSelfOrParent (Transform trans, ref Canvas canv) |
|
void | addRaycaster (GameObject obj) |
|
void | setAsNotInteractible (GameObject obj) |
|
void | bringSpriteToFront (GameObject obj) |
|
void | sendSpriteToBack (GameObject obj) |
|
void | changeLabelText (GameObject obj, string aText) |
|
void | changeLabelFontSize (GameObject obj, int newFontSize) |
|
Vector2 | getTextSize (GameObject obj) |
|
void | changeSpritePivot (GameObject obj, WMGpivotTypes theType) |
|
void | changeLabelColor (GameObject obj, Color newColor) |
|
void | changeLabelFontStyle (GameObject obj, FontStyle newFontStyle) |
|
void | changeLabelFont (GameObject obj, Font newFont) |
|
|
int | numPoints [get, set] |
| Controls how many points or edges there are for the radar graph, so setting 5 here will make all the grids be pentagons. More...
|
|
Vector2 | offset [get, set] |
| This can be used for moving around the radar graph without moving the graph as a whole. More...
|
|
float | degreeOffset [get, set] |
| This allows rotating the content of the radar graph. More...
|
|
float | radarMinVal [get, set] |
| Defines the minimum value of the radar graph. More...
|
|
float | radarMaxVal [get, set] |
| Defines the maximum value of the radar graph, which determines what value represents the outer radius of the radar grids. More...
|
|
int | numGrids [get, set] |
| The number of grids that appear in the background for this radar graph. More...
|
|
float | gridLineWidth [get, set] |
| The line width of the radar grids. More...
|
|
Color | gridColor [get, set] |
| The color of the radar grids. More...
|
|
int | numDataSeries [get, set] |
| The number of data series. More...
|
|
float | dataSeriesLineWidth [get, set] |
| The line width of the data series. More...
|
|
Color | labelsColor [get, set] |
| The color of the text labels. More...
|
|
float | labelsOffset [get, set] |
| Positional offset of the labels. More...
|
|
int | fontSize [get, set] |
| Font size of the labels. More...
|
|
bool | hideLabels [get, set] |
| Whether to hide the labels. More...
|
|
graphTypes | graphType [get, set] |
| Gets or sets the type of the graph, which determines at a high level how data will be displayed. More...
|
|
orientationTypes | orientationType [get, set] |
| Gets or sets the type of the orientation, where vertical means the y-axis data will be displayed vertically. More...
|
|
axesTypes | axesType [get, set] |
| Determines how axes are oriented, the roman numerals refer to quadrants where quadrant 1 is the top right, and quadrant 4 is bottom right. More...
|
|
bool | resizeEnabled [get, set] |
| Determines whether graph content (resizeProperties) will resize post graph initialization based on the percentage change of the graph's rect transform width / height. More...
|
|
ResizeProperties | resizeProperties [get, set] |
| Specifies which graph content is resized when resizeEnabled = true. More...
|
|
bool | useGroups [get, set] |
| Determines whether the data for each series corresponds to an element in groups, where the (group index + 1) corresponds with WMG_Series::pointValues x value. More...
|
|
Vector2 | paddingLeftRight [get, set] |
| The amount of space on the left / right sides of the graph content formed by bounding box of the axis lines, and set automatically if autoPaddingEnabled = true. More...
|
|
Vector2 | paddingTopBottom [get, set] |
| The amount of space on the top / bottom sides of the graph content formed by bounding box of the axis lines, and set automatically if autoPaddingEnabled = true. More...
|
|
bool | autoPaddingEnabled [get, set] |
| When enabled, automatically sets paddingLeftRight and paddingTopBottom based on autoPaddingProperties and autoPaddingAmount. More...
|
|
AutoPaddingProperties | autoPaddingProperties [get, set] |
| The elements of graph content that is taken into consideration when autoPaddingEnabled = true. More...
|
|
float | autoPaddingAmount [get, set] |
| This is the amount of padding space between the graph content and graph boundary that is used when autoPaddingEnabled = true. More...
|
|
Vector2 | theOrigin [get, set] |
| The origin of the graph, affects position of axes if axesType is of an AUTO_ORIGIN type, also affects barAxisValue if autoUpdateBarAxisValue = true. More...
|
|
float | barWidth [get, set] |
| Determines the width of the series' bars for bar graphs. More...
|
|
float | barAxisValue [get, set] |
| Controls the starting point for bar charts. More...
|
|
bool | autoUpdateOrigin [get, set] |
| When enabled, automatically sets theOrigin based on axesType. More...
|
|
bool | autoUpdateBarWidth [get, set] |
| When enabled, automatically updates barWidth based on autoUpdateBarWidthSpacing. More...
|
|
float | autoUpdateBarWidthSpacing [get, set] |
| When autoUpdateBarWidth = true, automatically updates barWidth based on this specified percentage of the graph's axis length. More...
|
|
bool | autoUpdateSeriesAxisSpacing [get, set] |
| When enabled, automatically updates WMG_Series::extraXSpace, which is the padding of space for the series from the axis line. More...
|
|
bool | autoUpdateBarAxisValue [get, set] |
| When enabled, automatically updates barAxisValue based on the theOrigin. More...
|
|
int | axisWidth [get, set] |
| Determines the width of the x / y axis lines. More...
|
|
float | autoShrinkAtPercent [get, set] |
| When WMG_Axis::MinAutoShrink = true or WMG_Axis::MaxAutoShrink = true, determines percentage threshold at which an auto shrink occurs. More...
|
|
float | autoGrowAndShrinkByPercent [get, set] |
| When WMG_Axis::MinAutoShrink = true, WMG_Axis::MaxAutoShrink = true, WMG_Axis::MinAutoGrow = true, or WMG_Axis::MaxAutoGrow = true, determines the amount of an auto shrink / growth. More...
|
|
bool | tooltipEnabled [get, set] |
| Determines whether to show a tooltip when the mouse hovers over a series data point / bar. More...
|
|
bool | autoAnimationsEnabled [get, set] |
| When enabled, certain changes will automatically play an animation such as a data point changing its y-value, or the graph orientation changing. More...
|
|
Vector2 | tickSize [get, set] |
| Determines the width and height of axis ticks, for which there are WMG_Axis::AxisNumTicks if WMG_Axis::hideTicks = false. More...
|
|
string | graphTitleString [get, set] |
| The string to display for the title of the graph, which appears at the top of the graph. More...
|
|
Vector2 | graphTitleOffset [get, set] |
| The positional offset of graphTitleString used to control how much space there is between the graph title and the graph. More...
|
|
int | graphTitleSize [get, set] |
| The font size of graphTitleString. More...
|
|
float | xAxisLength [get] |
|
float | yAxisLength [get] |
|
float | xAxisLengthOrienInd [get] |
|
float | yAxisLengthOrienInd [get] |
|
bool | IsStacked [get] |
|
List< float > | TotalPointValues [get] |
| Contains the summed values for series' data, used for stacked charts. More...
|
|
bool | autoFitLabels [get, set] |
| Obsolete. More...
|
|
float | autoFitPadding [get, set] |
| Obsolete. More...
|
|
List< GameObject > | NodesParent [get] |
| The list of GameObjects which are WMG_Nodes for this graph. More...
|
|
List< GameObject > | LinksParent [get] |
| The list of GameObjects which are WMG_Links for this graph. More...
|
|