This project is read-only.

Fix axis values

Jan 7, 2011 at 5:03 PM

Is there a simple way to set the Y Axis Min and Max? I have an application where I want to display a range of -2000 to 2000




Jan 11, 2011 at 9:50 PM
Edited Jan 11, 2011 at 9:50 PM


You can set the chart display range 

Chart.Viewport.Visible = new DataRect(Chart.Viewport.Visible.XMin, -2000, Chart.Viewport.Visible.Width, 4000);

or you can set the viewport domain

Chart.Viewport.Domain = DataRect.Create(Double.MinValue, -2000, Double.MaxValue, 2000);

BTW, most activity related to D3 is now at