ASP.NET Chart Manipulation with c# -
to explain question drew image, here is:

so have chart has bar graph , line chart, 2 in 1. trying displaly in asp.net way drew on here. means box on image has set of values reflect line graph, , c box on image has set of values define bar graph values.
what want ask how set 2 different sets of values on single chart. know can use series draw multiple graphs , having series defined different types can change if bar graph or ilne chart, don't know how add 2 range of values on side.
as the box b, wish ask how set these values showing different dates, able using line of code shown bellow, line of code sets every value same, , need them reflect different values such range of dates in example on image.
code tried is: chart1.series["series1"].axislabel = "test";
help appreciated!
cheers!
ok i'm going leave question come similar problem.
this how set column , column c
chart1.series[0].yaxistype = axistype.primary; chart1.series[1].yaxistype = axistype.secondary; chart1.chartareas[0].axisy.maximum = 500; chart1.chartareas[0].axisy2.maximum = 7000; your grid lines might messed if want disable them use
chart1.chartareas[0].axisy2.majorgrid.enabled = false; and bonus if want set intervals on each y axis can with
chart1.chartareas[0].axisy.interval = 50; i still haven't figured out how part b mentioned, if know answer please share.
cheers!
Comments
Post a Comment