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,30 @@
|
||||
#define Graph_And_Chart_PRO
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace ChartAndGraph
|
||||
{
|
||||
public partial class BarChart
|
||||
{
|
||||
partial void StackedStage1(ref float elevation, double prevIntep)
|
||||
{
|
||||
if (Stacked)
|
||||
elevation = (float)prevIntep * HeightRatio;
|
||||
}
|
||||
|
||||
partial void StackedStage2(ref double prevIntep, double interp)
|
||||
{
|
||||
if (Stacked)
|
||||
prevIntep = interp;
|
||||
}
|
||||
partial void StackedStage3(ref double interp, double amount, double min, double total)
|
||||
{
|
||||
if (Stacked)
|
||||
{
|
||||
interp = (amount - min) / total;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user