|
| void | Init () |
| | Initializes the legend, done during graph initialization. More...
|
| |
| void | PauseCallbacks () |
| | Used during Graph refresh process, should not be called outside of Graph Maker code. More...
|
| |
| void | ResumeCallbacks () |
| | Used during Graph refresh process, should not be called outside of Graph Maker code. More...
|
| |
| void | setOriginalPropertyValues () |
| | Sets original property values, used for resizing purposes, called during initialization. More...
|
| |
| WMG_Legend_Entry | createLegendEntry (Object prefab) |
| | Creates a legend entry, used in pie graphs. More...
|
| |
| WMG_Legend_Entry | createLegendEntry (Object prefab, WMG_Series series, int index) |
| | Creates a legend entry, used in axis graphs. More...
|
| |
| void | deleteLegendEntry (int index) |
| |
| void | updateLegend () |
| | Refreshes the legend. More...
|
| |
| void | setLabelScales (float newScale) |
| |
| 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) |
| |
|
| bool | hideLegend [get, set] |
| | Controls whether the legend is displayed. More...
|
| |
| legendTypes | legendType [get, set] |
| | Controls whether the legend is displayed along top / bottom or right / left. More...
|
| |
| WMG_Enums.labelTypes | labelType [get, set] |
| | Controls how the labels appear for the legend entries. More...
|
| |
| bool | showBackground [get, set] |
| | Controls whether the legend background sprite appears. More...
|
| |
| bool | oppositeSideLegend [get, set] |
| | Moves legend to the other side, so from bot to top, or right to left. More...
|
| |
| float | offset [get, set] |
| | Controls how far the legend is positionally offset from the graph. More...
|
| |
| float | legendEntryWidth [get, set] |
| | The width of each legend entry, can be set automatically if setWidthFromLabels = true. More...
|
| |
| bool | setWidthFromLabels [get, set] |
| | Automatically update legendEntryWidth based on the width of legend entry labels. More...
|
| |
| float | legendEntryHeight [get, set] |
| | The height of legend entries. More...
|
| |
| int | numRowsOrColumns [get, set] |
| | Controls how many rows will appear for horizontal legends, and how many columns will appear for vertical legends. More...
|
| |
| int | numDecimals [get, set] |
| | The number of decimals used to display in text values for legend entries, used in pie graphs. More...
|
| |
| float | legendEntryLinkSpacing [get, set] |
| | For line series, this is length of each of the lines appearing on the sides of the point in the legend entry. More...
|
| |
| int | legendEntryFontSize [get, set] |
| | The font size of legend entry text objects. More...
|
| |
| float | legendEntrySpacing [get, set] |
| | Controls the spacing between the swatch and the text for the legend entries. More...
|
| |
| float | pieSwatchSize [get, set] |
| | Controls the size of the colored swatches for pie graph legends. More...
|
| |
| float | backgroundPadding [get, set] |
| | The amount of space padded between the legend entries and the legend background. More...
|
| |
| bool | autofitEnabled [get, set] |
| | Automatically updates numRowsOrColumns to best fit the graph's width / height. More...
|
| |
| Color | labelColor [get, set] |
| | Gets or sets the color of the labels in the legend entries. More...
|
| |
| FontStyle | legendEntryFontStyle [get, set] |
| | Gets or sets the legend entry font style. More...
|
| |
| Font | legendEntryFont [get, set] |
| | Gets or sets the legend entry font. More...
|
| |
| int | LegendWidth [get] |
| | Gets the total width of the legend. More...
|
| |
| int | LegendHeight [get] |
| | Gets the total height of the legend. More...
|
| |
| int | NumEntries [get] |
| | Gets the number entries in the legend. More...
|
| |
| int | MaxInRowOrColumn [get] |
| | Gets the maximum number of legend entries in row or column. More...
|
| |
| float | origLegendEntryWidth [get] |
| |
| float | origLegendEntryHeight [get] |
| |
| float | origLegendEntryLinkSpacing [get] |
| |
| int | origLegendEntryFontSize [get] |
| |
| float | origLegendEntrySpacing [get] |
| |
| float | origPieSwatchSize [get] |
| |
| float | origOffset [get] |
| |
| float | origBackgroundPadding [get] |
| |
The legend used for pie graphs and axis graphs.