Last active
December 18, 2015 10:08
-
-
Save rtanote/5765853 to your computer and use it in GitHub Desktop.
wpf ToolKit(ver3.5) ChartのLinerAxisの原点を0でなく最小値にする
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Windows.Controls.DataVisualization.Charting; | |
namespace Views.Chart { | |
/// <summary> | |
/// wpf ToolKit Chartの線形軸の原点を0から最小値に変更する | |
/// </summary> | |
public class LinearOriginMinAxis : LinearAxis { | |
protected override IComparable Origin { | |
get { | |
return ActualMinimum; | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment