Skip to content

Instantly share code, notes, and snippets.

@rtanote
Last active December 18, 2015 10:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rtanote/5765853 to your computer and use it in GitHub Desktop.
Save rtanote/5765853 to your computer and use it in GitHub Desktop.
wpf ToolKit(ver3.5) ChartのLinerAxisの原点を0でなく最小値にする
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