mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-19 06:50:18 +00:00
3.0
This commit is contained in:
17
Runtime/Component/Label/EndLabelStyle.cs
Normal file
17
Runtime/Component/Label/EndLabelStyle.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace XCharts.Runtime
|
||||
{
|
||||
[System.Serializable]
|
||||
public class EndLabelStyle : LabelStyle
|
||||
{
|
||||
public EndLabelStyle()
|
||||
{
|
||||
m_Offset = new Vector3(5, 0, 0);
|
||||
m_TextStyle.alignment = TextAnchor.MiddleLeft;
|
||||
m_NumericFormatter = "f0";
|
||||
m_Formatter = "{a}:{c}";
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user