Details about the properties of xymultipleseriesrenderer and xyseriesrender in achartengine

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.