c# - Fixed Intervals on MSChart Axis -


i have windows forms project in vs2010 simple line chart.

the data dynamic , ranging between 1.4000 , 1.5000.

i want y axis's gridlines/labels displayed on every #.##20 data point, in:

1.4080 ----------------------------

1.4060 ----------------------------

1.4040 ----------------------------

1.4020 ----------------------------

1.4000 ----------------------------

etc.

so tried interval property axis gridlines/labels, setting 0.002, , result gridlines/labels displayed every 0.0020 points, example this:

1.4084 ----------------------------

1.4064 ----------------------------

1.4044 ----------------------------

1.4024 ----------------------------

1.4004 ----------------------------

but not on 0.0020 points shown previously.

any suggestions on how displayed way want?

in axisy, set minimum value 1.4004, maximum value 1.4084(or corresponding minimum/maximum value rounded 4 decimal places pulled dynamic data), interval 0.0020 , intervalautomode fixedcount. also, set axis' labelstyle's format {0.0000} have 4 decimal places of rounding in label.


Comments

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -