c# - Zedgraph Does not display Symbols on Line -


i'm using zedgraph plot data. used code :

private void creategraph( zedgraphcontrol zg1 ) {    // reference graphpane    graphpane mypane = zg1.graphpane;     // set titles    mypane.title.text = "my test date graph";    mypane.xaxis.title.text = "date";    mypane.xaxis.title.text = "my y axis";     // make random data points    double x, y;    pointpairlist list = new pointpairlist();    ( int i=0; i<36; i++ )    {       x = (double) new xdate( 1995, 5, i+11 );       y = math.sin( (double) * math.pi / 15.0 );       list.add( x, y );    }     // generate red curve diamond    // symbols, , "my curve" in legend    curveitem mycurve = mypane.addcurve( "my curve",          list, color.red, symboltype.diamond );     // set xaxis date type    mypane.xaxis.type = axistype.date;     // tell zedgraph refigure axes since data     // have changed    zg1.axischange(); } 

it's work fine. when change :

mypane.xaxis.type = axistype.date; 

to

mypane.xaxis.type = axistype.dateasordinal; 

symbols ( symboltype.diamond ) not display on line!. whay? can me that? thanks.


Comments

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -