增加SerieminRadius可设置最小半径

This commit is contained in:
monitor1394
2023-07-27 07:58:10 +08:00
parent 0c09d40654
commit fc7655fd76
8 changed files with 182 additions and 29 deletions

View File

@@ -57,6 +57,7 @@ slug: /api
- [MainComponentHandler](#maincomponenthandler)
- [MainComponentHandler<T>](#maincomponenthandlert)
- [MathUtil](#mathutil)
- [MonoBehaviour](#monobehaviour)
- [Painter](#painter)
- [ParallelChart](#parallelchart)
- [ParallelCoordContext](#parallelcoordcontext)
@@ -110,6 +111,7 @@ slug: /api
- [XChartsMgr](#xchartsmgr)
- [XCResourceImporterWindow](#xcresourceimporterwindow)
- [XCThemeMgr](#xcthememgr)
- [XLog](#xlog)
## AnimationInfoContext
@@ -665,14 +667,19 @@ slug: /api
|Reset()||public void Reset()|
|SetColor()||public void SetColor(ref bool needInteract, Color32 color)|
|SetColor()||public void SetColor(ref bool needInteract, Color32 color, Color32 toColor)|
|SetValue()||public void SetValue(ref bool needInteract, float size)|
|SetValue()||public void SetValue(ref bool needInteract, float size, bool highlight, float rate = 1.3f)|
|SetPosition()||public void SetPosition(ref bool needInteract, Vector3 pos)|
|SetValue()||public void SetValue(ref bool needInteract, float value)|
|SetValue()||public void SetValue(ref bool needInteract, float value, bool highlight, float rate = 1.3f)|
|SetValueAndColor()||public void SetValueAndColor(ref bool needInteract, float value, Color32 color)|
|SetValueAndColor()||public void SetValueAndColor(ref bool needInteract, float value, Color32 color, Color32 toColor)|
|ToString()||public override string ToString()|
|TryGetColor()||public bool TryGetColor(ref Color32 color, ref bool interacting, float animationDuration = 250)|
|TryGetColor()||public bool TryGetColor(ref Color32 color, ref Color32 toColor, ref bool interacting, float animationDuration = 250)|
|TryGetPosition()||public bool TryGetPosition(ref Vector3 pos, ref bool interacting, float animationDuration = 250)|
|TryGetValue()||public bool TryGetValue(ref float value, ref bool interacting, float animationDuration = 250)|
|TryGetValueAndColor()||public bool TryGetValueAndColor(ref float value, ref Color32 color, ref Color32 toColor, ref bool interacting, float animationDuration = 250)|
|TryGetValueAndColor()||public bool TryGetValueAndColor(ref float value, ref Vector3 pos, ref bool interacting, float animationDuration = 250)|
|TryGetValueAndColor()||public bool TryGetValueAndColor(ref float value, ref Vector3 pos, ref Color32 color, ref Color32 toColor, ref bool interacting, float animationDuration = 250)|
## IPropertyChanged
@@ -720,7 +727,7 @@ slug: /api
|public method|since|description|
|--|--|--|
|CheckDataHighlighted()||public static bool CheckDataHighlighted(Serie serie, string legendName, bool heighlight)|
|CheckDataHighlighted()||public static int CheckDataHighlighted(Serie serie, string legendName, bool heighlight)|
|CheckDataShow()||public static bool CheckDataShow(Serie serie, string legendName, bool show)|
|GetContentColor()||public static Color GetContentColor(BaseChart chart, int legendIndex, string legendName, Legend legend, ThemeStyle theme, bool active)|
|GetIconColor()||public static Color GetIconColor(BaseChart chart, Legend legend, int readIndex, string legendName, bool active)|
@@ -826,6 +833,10 @@ slug: /api
|IsInteger()||public static bool IsInteger(double value)|
|Lerp()||public static double Lerp(double a, double b, double t)|
## MonoBehaviour
> .MonoBehaviour / Subclasses: [XLog](#xlog)
## ObjectPool<T> where T
> XCharts.Runtime.ObjectPool<T> where T : [new()](#new())
@@ -1131,7 +1142,7 @@ serie事件的数据。
|GetSerieState()||public static SerieState GetSerieState(SerieData serieData)|
|GetSerieSymbol()||public static SerieSymbol GetSerieSymbol(Serie serie, SerieData serieData, SerieState state = SerieState.Auto)|
|GetStateStyle()||public static StateStyle GetStateStyle(Serie serie, SerieData serieData, SerieState state)|
|GetSysmbolSize()||public static float GetSysmbolSize(Serie serie, SerieData serieData, ThemeStyle theme, float defaultSize, SerieState state = SerieState.Auto)|
|GetSysmbolSize()||public static float GetSysmbolSize(Serie serie, SerieData serieData, float defaultSize, SerieState state = SerieState.Auto)|
|GetTitleStyle()||public static TitleStyle GetTitleStyle(Serie serie, SerieData serieData)|
|IsAllZeroValue()||public static bool IsAllZeroValue(Serie serie, int dimension = 1)<br/>系列指定维数的数据是否全部为0。 |
|IsDownPoint()||public static bool IsDownPoint(Serie serie, int index)|
@@ -1416,3 +1427,26 @@ UI帮助类。
|ReloadThemeList()||public static void ReloadThemeList()<br/>重新加载主题列表 |
|SwitchTheme()||public static void SwitchTheme(BaseChart chart, string themeName)|
## XLog
> XCharts.Runtime.XLog : [MonoBehaviour](#monobehaviour)
日志系统。用于输出带日期和日志类型的日志,支持输出到文件,支持自定义输出的日志类型。
|public method|since|description|
|--|--|--|
|CanLog()||public static bool CanLog(int level)|
|ClearAllLog()||public static void ClearAllLog()|
|Debug()||public static void Debug(string log)|
|EnableLog()||public static void EnableLog(int logType)|
|Error()||public static void Error(string log)|
|FlushLog()||public static void FlushLog()|
|GetNowTime()||public static string GetNowTime(string formatter = null)|
|GetTimestamp()||public static ulong GetTimestamp()|
|Info()||public static void Info(string log)|
|Log()||public static void Log(string log)|
|LogError()||public static void LogError(string log)|
|LogWarning()||public static void LogWarning(string log)|
|Proto()||public static void Proto(string log)|
|Vital()||public static void Vital(string log)|
|Warning()||public static void Warning(string log)|