graph chart引入&骑行结果弹窗
This commit is contained in:
1 parent
40d118cea3
commit
96f3644b5b
2374 files changed
+485161
-2410
No files matched your search
@@ -0,0 +1,34 @@
|
||||
#define Graph_And_Chart_PRO
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace ChartAndGraph
|
||||
{
|
||||
/// <summary>
|
||||
/// defines a horizontal axis for the chart componenet attached to the same object
|
||||
/// </summary>
|
||||
public class HorizontalAxis : AxisBase
|
||||
{
|
||||
protected override Action<IInternalUse, bool> Assign
|
||||
{
|
||||
get
|
||||
{
|
||||
return (x, clear) =>
|
||||
{
|
||||
if (clear)
|
||||
{
|
||||
if (x.HorizontalAxis == this)
|
||||
x.HorizontalAxis = null;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (x.HorizontalAxis != this)
|
||||
x.HorizontalAxis = this;
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user