mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-25 10:20:10 +00:00
[feature][polar] support bar and ring polar
This commit is contained in:
@@ -29,6 +29,11 @@ namespace XCharts.Runtime
|
||||
return (value + context.startAngle + 360) % 360;
|
||||
}
|
||||
|
||||
public float GetValueAngle(double value)
|
||||
{
|
||||
return (float) (value + context.startAngle + 360) % 360;
|
||||
}
|
||||
|
||||
public override void SetDefaultValue()
|
||||
{
|
||||
m_Show = true;
|
||||
|
||||
Reference in New Issue
Block a user