how to Set scale for plot or axe

Oystein Bjorke 6 years ago 0
This discussion was imported from CodePlex

ProCodeMyth wrote at 2012-04-29 15:58:

hi objo,

    i want to plot a larger graphic in oxyplot ,  for example , x axe range in (0-3000), oxyplot default plot whole range in windows ,

the result plot show too little and dense  , i don't know how to set single axis Scale (protect set), please help me 

 very thanks


objo wrote at 2012-04-30 16:06:

Set the Maximum and Minimum values to limit the range of the axis. It will still be possible to pan/zoom outside this range. 

You can also set the AbsoluteMaximum and AbsoluteMinimum values if you don't want to allow panning/zooming outside the given range.

Yes, the Scale property setter is protected, you should the public properties to change the scale.