c# - How can I manipulate Winforms chart -
c# - How can I manipulate Winforms chart -
i have problem fitting chart:
how can adjust or manipulate y-axis numbers start want it?
secondly, there way (properties) may help me display graph friendly? can see x-axis name aren't displayed , maybe space b/w gray , bluish bars?
any help how display charts friendly welcome
you can set interval of each axis:
yourchart.chartareas[0].axisy.interval = 17; and can create start @ offset:
yourchart.chartareas[0].axisy.intervaloffset = 11; as x-axis labels hard tell without knowing code..
..but same options apply here too:
yourchart.chartareas[0].axisx.interval = 1; to command widths of columns set custom property pixelpointwidth adding gap not possible.
all solutions found hacks , best 1 add together dummy series between real info series:
chart1.series[0]["pixelpointwidth"] = "33"; chart1.series["gap"]["pixelpointwidth"] = "33"; chart1.series[2]["pixelpointwidth"] = "33"; fill same number of datapoints x-value of 0!
c# winforms charts
Comments
Post a Comment