ChartTooltipContentBuilder
public sealed class ChartTooltipContentBuilderFluent writer passed to custom tooltip content callbacks.
Methods
Section titled “Methods”
Clear()
Section titled “Clear()”public ChartTooltipContentBuilder Clear()Removes all current content.
Returns
ChartGuru.ChartTooltipContentBuilder
Title(string)
Section titled “Title(string)”public ChartTooltipContentBuilder Title(string text)Sets the primary heading.
Parameters
| Name | Type |
|---|---|
text |
System.String |
Returns
ChartGuru.ChartTooltipContentBuilder
Subtitle(string)
Section titled “Subtitle(string)”public ChartTooltipContentBuilder Subtitle(string text)Sets the secondary heading.
Parameters
| Name | Type |
|---|---|
text |
System.String |
Returns
ChartGuru.ChartTooltipContentBuilder
Row(string, string)
Section titled “Row(string, string)”public ChartTooltipContentBuilder Row(string label, string value)Adds a label/value row without a series swatch.
Parameters
| Name | Type |
|---|---|
label |
System.String |
value |
System.String |
Returns
ChartGuru.ChartTooltipContentBuilder
Row(string, string, Color)
Section titled “Row(string, string, Color)”public ChartTooltipContentBuilder Row(string label, string value, Color color)Adds a label/value row with a series swatch.
Parameters
| Name | Type |
|---|---|
label |
System.String |
value |
System.String |
color |
UnityEngine.Color |
Returns
ChartGuru.ChartTooltipContentBuilder
Footer(string)
Section titled “Footer(string)”public ChartTooltipContentBuilder Footer(string text)Sets the optional footer.
Parameters
| Name | Type |
|---|---|
text |
System.String |
Returns
ChartGuru.ChartTooltipContentBuilder