Xymultipleseriesrenderer Renderer = new xymultipleseriesrenderer ();
Renderer. setshowaxes (true );//? Todo
// Renderer. setshowcustomtextgrid (false );//? Todo
// Renderer. setshowgrid (true); // whether to display grid lines
// Renderer. setshowgridx (true); // whether to display grid lines in the X direction
// Renderer. setshowgridy (true); // whether to display grid lines in Y direction
// Renderer. setshowlabels (false); // whether to display the XY axis value and title
// Renderer. setshowlegend (true); // whether to display the legend, which is the explanation of some line or logo in the graph.
// Renderer. setstartangle (80366f );//? Todo should be applied in the pie chart
// Renderer. settexttypeface (typefacename, style) // set the font name and type. How can this problem be used ?? Todo
// Renderer. setxaxismax (15.0f); // you can specify the maximum value of X.
// Renderer. setxaxismax (15.0f, 0); // scale? Todo
// Renderer. setxaxismin (1.1); // you can specify the minimum value of X.
// Renderer. setxlabels (9); // set the number of labels on the X axis. The maximum value depends on the given coordinates.
// Renderer. setxlabelsalign (align. Left); // set the alignment of the X axis label, that is, the position of the tab relative to the left point.
// Renderer. setxlabelsangle (angle )//? Todo
// Renderer. setxlabelscolor (0x660000ff); // font color of the X axis Value
Renderer. setxtitle ("X title ");
// Renderer. setyaxisalign (align. Center, 0); // you can specify the position of the Y axis.
// Renderer. setyaxismax (max); // sets the maximum value of Y.
// Renderer. setyaxismax (max, scale); // scale? Todo
// Renderer. setyaxismin (min); sets the minimum value of Y.
// Renderer. setylabels (ylabels); // you can specify the number of labels on the Y axis.
// Renderer. setylabelsalign (align. Right); // you can specify the position of the Y axis label relative to the Y axis.
// Renderer. setylabelsalign (align. Right, scale); // scale? Todo
// Renderer. setylabelscolor (scale, color); // scale? Todo
Renderer. setytitle ("ytitle ");
// Renderer. setytitle (title, scale); // scalse? Todo
Renderer. setzoombuttonsvisible (true); // whether the line zoom button is visible
// Renderer. setzoomenabled (false );//? Todo
// Renderer. setzoomenabled (true, false); // determine the zoomenabled axis.
// Renderer. setzoomlimits (double []); //? Todo
// Renderer. setzoomrate (2.0f );
Xyseriesrenderer renderer1 = new xyseriesrenderer ();
// Renderer1.setchartvaluesspacing (20f );//? Todo
Renderer1.setchartvaluestextalign (align. Right); // you can specify the position of the Y value on the line relative to the coordinate point.
Renderer1.setchartvaluestextsize (20366f); // set the font size of the numeric value on the line
Renderer1.setcolor (0xff3300ff); // you can specify the line color.
Renderer1.setdisplaychartvalues (true); // whether to display the value on the line
Renderer1.setfillbelowline (true); // whether to fill the X axis below the line to form
Renderer1.setfillbelowlinecolor (0x6180000ff); // you can specify the fill color.
// Renderer1.setfillpoints (true );//? Todo
// Renderer1.setgradientenabled (false );//? Todo
// Renderer1.setgradientstart (5.0, 0x33ffffff );//? Todo
// Renderer1.setgradientstop (10.0, 0x33ffffff );//? Todo
// Renderer1.setlinewidth (5.0f); // you can specify the line width.
Renderer1.setpointstyle (pointstyle. Triangle); // you can specify the coordinate point style.
Renderer1.setstroke (basicstroke. dotted); // you can specify a line style.
Renderer. addseriesrenderer (renderer1 );
Details about the properties of xymultipleseriesrenderer and xyseriesrender in achartengine