3.0 - namespace

This commit is contained in:
monitor1394
2022-02-19 22:37:57 +08:00
parent ce5aeb2d98
commit e72349a69f
306 changed files with 306 additions and 236 deletions

View File

@@ -1,7 +1,7 @@

using UnityEngine;
namespace XCharts
namespace XCharts.Runtime
{
[AddComponentMenu("XCharts/BarChart", 14)]
[ExecuteInEditMode]

View File

@@ -2,7 +2,7 @@
using UnityEngine;
namespace XCharts
namespace XCharts.Runtime
{
[AddComponentMenu("XCharts/CandlestickChart", 23)]
[ExecuteInEditMode]

View File

@@ -2,7 +2,7 @@
using System.Collections.Generic;
using UnityEngine;
namespace XCharts
namespace XCharts.Runtime
{
[AddComponentMenu("XCharts/HeatmapChart", 18)]
[ExecuteInEditMode]

View File

@@ -2,7 +2,7 @@
using UnityEngine;
namespace XCharts
namespace XCharts.Runtime
{
[AddComponentMenu("XCharts/LineChart", 13)]
[ExecuteInEditMode]

View File

@@ -1,7 +1,7 @@

using UnityEngine;
namespace XCharts
namespace XCharts.Runtime
{
/// <summary>
/// 水位图

View File

@@ -2,7 +2,7 @@
using System.Collections.Generic;
using UnityEngine;
namespace XCharts
namespace XCharts.Runtime
{
[AddComponentMenu("XCharts/ParallelChart", 25)]
[ExecuteInEditMode]

View File

@@ -1,7 +1,7 @@

using UnityEngine;
namespace XCharts
namespace XCharts.Runtime
{
[AddComponentMenu("XCharts/PieChart", 15)]
[ExecuteInEditMode]

View File

@@ -2,7 +2,7 @@
using UnityEngine;
namespace XCharts
namespace XCharts.Runtime
{
[AddComponentMenu("XCharts/PolarChart", 23)]
[ExecuteInEditMode]

View File

@@ -1,7 +1,7 @@

using UnityEngine;
namespace XCharts
namespace XCharts.Runtime
{
[AddComponentMenu("XCharts/RadarChart", 16)]
[ExecuteInEditMode]

View File

@@ -2,7 +2,7 @@
using UnityEngine;
namespace XCharts
namespace XCharts.Runtime
{
[AddComponentMenu("XCharts/RingChart", 20)]
[ExecuteInEditMode]

View File

@@ -1,7 +1,7 @@

using UnityEngine;
namespace XCharts
namespace XCharts.Runtime
{
[AddComponentMenu("XCharts/ScatterChart", 17)]
[ExecuteInEditMode]

View File

@@ -2,7 +2,7 @@
using UnityEngine;
namespace XCharts
namespace XCharts.Runtime
{
[AddComponentMenu("XCharts/SimplifiedBarChart", 27)]
[ExecuteInEditMode]

View File

@@ -2,7 +2,7 @@
using UnityEngine;
namespace XCharts
namespace XCharts.Runtime
{
[AddComponentMenu("XCharts/SimplifiedCandlestickChart", 28)]
[ExecuteInEditMode]

View File

@@ -2,7 +2,7 @@
using UnityEngine;
namespace XCharts
namespace XCharts.Runtime
{
[AddComponentMenu("XCharts/SimplifiedLineChart", 26)]
[ExecuteInEditMode]

View File

@@ -3,7 +3,7 @@ using System.Collections.Generic;
using UnityEngine;
using System;
namespace XCharts
namespace XCharts.Runtime
{
public delegate float CustomAnimationDelay(int dataIndex);
public delegate float CustomAnimationDuration(int dataIndex);

View File

@@ -3,7 +3,7 @@ using System;
using System.Collections.Generic;
using UnityEngine;
namespace XCharts
namespace XCharts.Runtime
{
public struct AnimationStyleContext
{

View File

@@ -1,7 +1,7 @@
using UnityEngine;
using XUGL;
namespace XCharts
namespace XCharts.Runtime
{
public static class AnimationStyleHelper
{

View File

@@ -2,7 +2,7 @@
using System.Collections.Generic;
using UnityEngine;
namespace XCharts
namespace XCharts.Runtime
{
/// <summary>
/// Angle axis of Polar Coordinate.

View File

@@ -2,7 +2,7 @@ using UnityEngine;
using UnityEngine.UI;
using XUGL;
namespace XCharts
namespace XCharts.Runtime
{
[UnityEngine.Scripting.Preserve]
internal sealed class AngleAxisHandler : AxisHandler<AngleAxis>

View File

@@ -3,7 +3,7 @@ using System;
using System.Collections.Generic;
using UnityEngine;
namespace XCharts
namespace XCharts.Runtime
{
/// <summary>
/// The axis in rectangular coordinate.

View File

@@ -3,7 +3,7 @@ using System;
using System.Collections.Generic;
using UnityEngine;
namespace XCharts
namespace XCharts.Runtime
{
public class AxisContext : MainComponentContext
{

View File

@@ -4,7 +4,7 @@ using UnityEngine;
using UnityEngine.UI;
using XUGL;
namespace XCharts
namespace XCharts.Runtime
{
public abstract class AxisHandler<T> : MainComponentHandler
where T : Axis

View File

@@ -1,6 +1,6 @@
using UnityEngine;
namespace XCharts
namespace XCharts.Runtime
{
public static class AxisHelper
{

View File

@@ -3,7 +3,7 @@ using System;
using UnityEngine;
using UnityEngine.UI;
namespace XCharts
namespace XCharts.Runtime
{
/// <summary>
/// Settings related to axis label.

View File

@@ -1,7 +1,7 @@
using UnityEngine;
namespace XCharts
namespace XCharts.Runtime
{
/// <summary>
/// Settings related to axis line.

View File

@@ -2,7 +2,7 @@
using System;
using UnityEngine;
namespace XCharts
namespace XCharts.Runtime
{
/// <summary>
/// the name of axis.

View File

@@ -3,7 +3,7 @@ using System;
using System.Collections.Generic;
using UnityEngine;
namespace XCharts
namespace XCharts.Runtime
{
/// <summary>
/// Split area of axis in grid area, not shown by default.

View File

@@ -2,7 +2,7 @@
using System;
using UnityEngine;
namespace XCharts
namespace XCharts.Runtime
{
/// <summary>
/// Split line of axis in grid area.

View File

@@ -2,7 +2,7 @@
using UnityEngine;
namespace XCharts
namespace XCharts.Runtime
{
/// <summary>
/// Settings related to axis tick.

View File

@@ -2,7 +2,7 @@
using System.Collections.Generic;
using UnityEngine;
namespace XCharts
namespace XCharts.Runtime
{
[System.Serializable]
[RequireChartComponent(typeof(ParallelCoord))]

View File

@@ -2,7 +2,7 @@
using UnityEngine;
using UnityEngine.UI;
namespace XCharts
namespace XCharts.Runtime
{
[UnityEngine.Scripting.Preserve]
internal sealed class ParallelAxisHander : AxisHandler<ParallelAxis>

View File

@@ -1,7 +1,7 @@
using System.Collections.Generic;
namespace XCharts
namespace XCharts.Runtime
{
/// <summary>
/// Radial axis of polar coordinate.

View File

@@ -4,7 +4,7 @@ using UnityEngine;
using UnityEngine.UI;
using XUGL;
namespace XCharts
namespace XCharts.Runtime
{
[UnityEngine.Scripting.Preserve]
internal sealed class RadiusAxisHandler : AxisHandler<RadiusAxis>

View File

@@ -2,7 +2,7 @@
using System.Collections.Generic;
using UnityEngine;
namespace XCharts
namespace XCharts.Runtime
{
/// <summary>
/// Single axis.

View File

@@ -2,7 +2,7 @@
using UnityEngine;
using UnityEngine.UI;
namespace XCharts
namespace XCharts.Runtime
{
[UnityEngine.Scripting.Preserve]
internal sealed class SingleAxisHander : AxisHandler<SingleAxis>

View File

@@ -2,7 +2,7 @@
using System.Collections.Generic;
using UnityEngine;
namespace XCharts
namespace XCharts.Runtime
{
/// <summary>
/// The x axis in cartesian(rectangular) coordinate.

View File

@@ -2,7 +2,7 @@
using UnityEngine;
using UnityEngine.UI;
namespace XCharts
namespace XCharts.Runtime
{
[UnityEngine.Scripting.Preserve]
internal sealed class XAxisHander : AxisHandler<XAxis>

View File

@@ -1,7 +1,7 @@
using System.Collections.Generic;
namespace XCharts
namespace XCharts.Runtime
{
/// <summary>
/// The x axis in cartesian(rectangular) coordinate.

View File

@@ -2,7 +2,7 @@
using UnityEngine;
using UnityEngine.UI;
namespace XCharts
namespace XCharts.Runtime
{
[UnityEngine.Scripting.Preserve]
internal sealed class YAxisHander : AxisHandler<YAxis>

View File

@@ -3,7 +3,7 @@ using System;
using UnityEngine;
using UnityEngine.UI;
namespace XCharts
namespace XCharts.Runtime
{
/// <summary>
/// Background component.

View File

@@ -4,7 +4,7 @@ using UnityEngine;
using UnityEngine.UI;
using XUGL;
namespace XCharts
namespace XCharts.Runtime
{
[UnityEngine.Scripting.Preserve]
internal sealed class BackgroundHandler : MainComponentHandler<Background>

View File

@@ -2,7 +2,7 @@
using UnityEngine;
namespace XCharts
namespace XCharts.Runtime
{
/// <summary>
/// The style of area.

View File

@@ -2,7 +2,7 @@
using System;
using UnityEngine;
namespace XCharts
namespace XCharts.Runtime
{
/// <summary>
/// </summary>

View File

@@ -1,7 +1,7 @@
using UnityEngine;
namespace XCharts
namespace XCharts.Runtime
{
/// <summary>
/// Settings related to base line.

View File

@@ -2,7 +2,7 @@
using UnityEngine;
namespace XCharts
namespace XCharts.Runtime
{
/// <summary>
/// 高亮的图形样式和文本标签样式。

View File

@@ -2,7 +2,7 @@
using System;
using UnityEngine;
namespace XCharts
namespace XCharts.Runtime
{
[System.Serializable]
public class EndLabelStyle : LabelStyle

View File

@@ -2,7 +2,7 @@
using UnityEngine;
using UnityEngine.UI;
namespace XCharts
namespace XCharts.Runtime
{
[System.Serializable]
public class IconStyle : ChildComponent, ISerieExtraComponent, ISerieDataComponent

View File

@@ -3,7 +3,7 @@ using System;
using System.Collections.Generic;
using UnityEngine;
namespace XCharts
namespace XCharts.Runtime
{
/// <summary>
/// 图形样式。

View File

@@ -2,7 +2,7 @@
using System;
using UnityEngine;
namespace XCharts
namespace XCharts.Runtime
{
[System.Serializable]
public class LabelLine : ChildComponent, ISerieExtraComponent, ISerieDataComponent

View File

@@ -2,7 +2,7 @@
using System;
using UnityEngine;
namespace XCharts
namespace XCharts.Runtime
{
/// <summary>
/// Text label of chart, to explain some data information about graphic item like value, name and so on.

View File

@@ -2,7 +2,7 @@
using System;
using UnityEngine;
namespace XCharts
namespace XCharts.Runtime
{
/// <summary>
/// </summary>

View File

@@ -2,7 +2,7 @@
using UnityEngine;
namespace XCharts
namespace XCharts.Runtime
{
/// <summary>
/// The style of line.

View File

@@ -5,7 +5,7 @@ using UnityEngine;
using TMPro;
#endif
namespace XCharts
namespace XCharts.Runtime
{
/// <summary>
/// Location type. Quick to set the general location.

View File

@@ -2,7 +2,7 @@
using System.Collections.Generic;
using UnityEngine;
namespace XCharts
namespace XCharts.Runtime
{
[System.Serializable]
public class StageColor

View File

@@ -3,7 +3,7 @@ using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
namespace XCharts
namespace XCharts.Runtime
{
/// <summary>
/// the type of symbol.

View File

@@ -3,7 +3,7 @@ using System;
using UnityEngine;
using UnityEngine.UI;
namespace XCharts
namespace XCharts.Runtime
{
/// <summary>
/// Text character limitation and adaptation component. When the length of the text exceeds the set length,

View File

@@ -5,7 +5,7 @@ using UnityEngine;
using TMPro;
#endif
namespace XCharts
namespace XCharts.Runtime
{
/// <summary>
/// Settings related to text.

View File

@@ -2,7 +2,7 @@
using System.Collections.Generic;
using UnityEngine;
namespace XCharts
namespace XCharts.Runtime
{
/// <summary>
/// DataZoom component is used for zooming a specific area,

View File

@@ -2,7 +2,7 @@
using System.Collections.Generic;
using UnityEngine;
namespace XCharts
namespace XCharts.Runtime
{
public class DataZoomContext : MainComponentContext
{

View File

@@ -5,7 +5,7 @@ using UnityEngine.EventSystems;
using UnityEngine.UI;
using XUGL;
namespace XCharts
namespace XCharts.Runtime
{
[UnityEngine.Scripting.Preserve]
internal sealed class DataZoomHandler : MainComponentHandler<DataZoom>

View File

@@ -1,5 +1,5 @@
namespace XCharts
namespace XCharts.Runtime
{
public static class DataZoomHelper
{

View File

@@ -5,7 +5,7 @@ using System.Collections.Generic;
using System.Text;
using UnityEngine.UI;
namespace XCharts
namespace XCharts.Runtime
{
[Serializable]
public class DebugInfo

View File

@@ -2,7 +2,7 @@
using System.Collections.Generic;
using UnityEngine;
namespace XCharts
namespace XCharts.Runtime
{
/// <summary>
/// Legend component.The legend component shows different sets of tags, colors, and names.

View File

@@ -2,7 +2,7 @@
using System.Collections.Generic;
using UnityEngine;
namespace XCharts
namespace XCharts.Runtime
{
public class LegendContext : MainComponentContext

View File

@@ -6,7 +6,7 @@ using UnityEngine.EventSystems;
using UnityEngine.UI;
using XUGL;
namespace XCharts
namespace XCharts.Runtime
{
[UnityEngine.Scripting.Preserve]
internal sealed class LegendHandler : MainComponentHandler<Legend>

View File

@@ -2,7 +2,7 @@ using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
namespace XCharts
namespace XCharts.Runtime
{
public static class LegendHelper
{

View File

@@ -1,7 +1,7 @@
using UnityEngine;
namespace XCharts
namespace XCharts.Runtime
{
/// <summary>
/// 标域类型

View File

@@ -4,7 +4,7 @@ using UnityEngine;
using UnityEngine.UI;
using XUGL;
namespace XCharts
namespace XCharts.Runtime
{
[UnityEngine.Scripting.Preserve]
internal sealed class MarkAreaHandler : MainComponentHandler<MarkArea>

View File

@@ -2,7 +2,7 @@
using System.Collections.Generic;
using UnityEngine;
namespace XCharts
namespace XCharts.Runtime
{
/// <summary>
/// 标线类型

View File

@@ -3,7 +3,7 @@ using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
namespace XCharts
namespace XCharts.Runtime
{
[UnityEngine.Scripting.Preserve]
internal sealed class MarkLineHandler : MainComponentHandler<MarkLine>

View File

@@ -1,7 +1,7 @@
using UnityEngine;
namespace XCharts
namespace XCharts.Runtime
{
internal static class MarkLineHelper
{

View File

@@ -3,7 +3,7 @@ using UnityEngine;
using System.Collections.Generic;
using UnityEngine.UI;
namespace XCharts
namespace XCharts.Runtime
{
/// <summary>
/// Radar coordinate conponnet for radar charts.

View File

@@ -3,7 +3,7 @@ using UnityEngine;
using System.Collections.Generic;
using UnityEngine.UI;
namespace XCharts
namespace XCharts.Runtime
{
public class RadarCoordContext : MainComponentContext
{

View File

@@ -4,7 +4,7 @@ using System.Collections.Generic;
using UnityEngine.UI;
using XUGL;
namespace XCharts
namespace XCharts.Runtime
{
[UnityEngine.Scripting.Preserve]
internal sealed class RadarCoordHandler : MainComponentHandler<RadarCoord>

View File

@@ -2,7 +2,7 @@
using UnityEngine;
using System;
namespace XCharts
namespace XCharts.Runtime
{
/// <summary>
/// Global parameter setting component. The default value can be used in general, and can be adjusted when necessary.

View File

@@ -2,7 +2,7 @@
using UnityEngine;
using System;
namespace XCharts
namespace XCharts.Runtime
{
/// <summary>
/// Title component, including main title and subtitle.

View File

@@ -1,7 +1,7 @@
using UnityEngine;
namespace XCharts
namespace XCharts.Runtime
{
[UnityEngine.Scripting.Preserve]
internal sealed class TitleHander : MainComponentHandler<Title>

View File

@@ -2,7 +2,7 @@
using System;
using UnityEngine;
namespace XCharts
namespace XCharts.Runtime
{
/// <summary>
/// the title of serie.

View File

@@ -5,7 +5,7 @@ using UnityEngine;
using UnityEngine.UI;
using XUGL;
namespace XCharts
namespace XCharts.Runtime
{
/// <summary>
/// Tooltip component.

View File

@@ -6,7 +6,7 @@ using UnityEngine;
using UnityEngine.UI;
using XUGL;
namespace XCharts
namespace XCharts.Runtime
{
public class TooltipData
{

View File

@@ -5,7 +5,7 @@ using UnityEngine;
using UnityEngine.UI;
using XUGL;
namespace XCharts
namespace XCharts.Runtime
{
[UnityEngine.Scripting.Preserve]
internal sealed class TooltipHandler : MainComponentHandler<Tooltip>

View File

@@ -3,7 +3,7 @@ using System;
using System.Text;
using UnityEngine;
namespace XCharts
namespace XCharts.Runtime
{
public static class TooltipHelper
{

View File

@@ -5,7 +5,7 @@ using UnityEngine;
using UnityEngine.UI;
using XUGL;
namespace XCharts
namespace XCharts.Runtime
{
public class TooltipViewItem
{

View File

@@ -3,7 +3,7 @@ using System;
using System.Collections.Generic;
using UnityEngine;
namespace XCharts
namespace XCharts.Runtime
{
/// <summary>
/// Vessel component for liquid chart. There can be multiple vessels in a Chart, which can be matched by vesselIndex in Serie.

View File

@@ -1,7 +1,7 @@
using UnityEngine;
namespace XCharts
namespace XCharts.Runtime
{
public class VesselContext : MainComponentContext
{

View File

@@ -4,7 +4,7 @@ using System;
using System.Collections.Generic;
using UnityEngine;
namespace XCharts
namespace XCharts.Runtime
{
[UnityEngine.Scripting.Preserve]
internal sealed class VesselHandler : MainComponentHandler<Vessel>

View File

@@ -3,7 +3,7 @@ using System;
using System.Collections.Generic;
using UnityEngine;
namespace XCharts
namespace XCharts.Runtime
{
internal static class VesselHelper
{

View File

@@ -2,7 +2,7 @@
using System.Collections.Generic;
using UnityEngine;
namespace XCharts
namespace XCharts.Runtime
{
/// <summary>
/// VisualMap component. Mapping data to visual elements such as colors.

View File

@@ -2,7 +2,7 @@
using System.Collections.Generic;
using UnityEngine;
namespace XCharts
namespace XCharts.Runtime
{
public class VisualMapContext : MainComponentContext
{

View File

@@ -5,7 +5,7 @@ using UnityEngine.EventSystems;
using UnityEngine.UI;
using XUGL;
namespace XCharts
namespace XCharts.Runtime
{
[UnityEngine.Scripting.Preserve]
internal sealed class VisualMapHandler : MainComponentHandler<VisualMap>

View File

@@ -2,7 +2,7 @@
using System;
using UnityEngine;
namespace XCharts
namespace XCharts.Runtime
{
public static class VisualMapHelper
{

View File

@@ -2,7 +2,7 @@
using System;
using UnityEngine;
namespace XCharts
namespace XCharts.Runtime
{
[Serializable]
[ComponentHandler(typeof(CalendarCoordHandler), true)]

View File

@@ -2,7 +2,7 @@
using System;
using UnityEngine;
namespace XCharts
namespace XCharts.Runtime
{
[UnityEngine.Scripting.Preserve]
internal sealed class CalendarCoordHandler : MainComponentHandler<CalendarCoord>

View File

@@ -3,7 +3,7 @@ using System;
using UnityEngine;
using XUGL;
namespace XCharts
namespace XCharts.Runtime
{
/// <summary>
/// Grid component.

View File

@@ -1,7 +1,7 @@
using UnityEngine;
namespace XCharts
namespace XCharts.Runtime
{
public class GridCoordContext : MainComponentContext, IRectContext
{

View File

@@ -5,7 +5,7 @@ using UnityEngine;
using UnityEngine.UI;
using XUGL;
namespace XCharts
namespace XCharts.Runtime
{
[UnityEngine.Scripting.Preserve]
internal sealed class GridCoordHandler : MainComponentHandler<GridCoord>

View File

@@ -2,7 +2,7 @@
using System;
using UnityEngine;
namespace XCharts
namespace XCharts.Runtime
{
/// <summary>
/// Grid component.

View File

@@ -2,7 +2,7 @@
using System.Collections.Generic;
using UnityEngine;
namespace XCharts
namespace XCharts.Runtime
{
public class ParallelCoordContext : MainComponentContext
{

View File

@@ -5,7 +5,7 @@ using UnityEngine;
using UnityEngine.UI;
using XUGL;
namespace XCharts
namespace XCharts.Runtime
{
[UnityEngine.Scripting.Preserve]
internal sealed class ParallelCoordHandler : MainComponentHandler<ParallelCoord>

View File

@@ -2,7 +2,7 @@
using System;
using UnityEngine;
namespace XCharts
namespace XCharts.Runtime
{
/// <summary>
/// Polar coordinate can be used in scatter and line chart. Every polar coordinate has an angleAxis and a radiusAxis.

Some files were not shown because too many files have changed in this diff Show More