c# - Can I change the format of a Zedgraph axis without redrawing each curve? -


basically, application has zedgraph plot, curve loaded.

intrinsically (i.e. in database curve points stored x-y pairs), each point's x-value double represents time (in seconds) has elapsed particular point variable datetime initialtime, 'december 15, 2005 12:45:02pm'.

i give user option of displaying x-axis 'relative time' (time elapsed since initialtime original values) or 'actual time' (full date/time of each point). currently, every time user switches time views, have iterate through each pointpair on pointpairlist of curve , translate x-values to/from original values , zedgraphs xdate format.

is there way more efficiently? thinking changing zgc.graphpane.xaxis.scale.format in way such accounts translation, couldn't find anything.

i thinking changing zgc.graphpane.xaxis.scale.format

could change axis labels under zgc.graphpane.xaxis.scale.textlabels (which array of strings)?


Comments

Popular posts from this blog

django - How can I change user group without delete record -

java - Need to add SOAP security token -

java - EclipseLink JPA Object is not a known entity type -