Android AChartEngine XYMultipleSeriesRenderer style attribute description

Source: Internet
Author: User

I made a real-time display of the AChartEngine curve two days ago and learned some basic AChartEngine usage. Now I will record the XYMultipleSeriesRenderer style attribute description and share it with you.
[Java]
XYMultipleSeriesRenderer renderer = new XYMultipleSeriesRenderer ();
Renderer. setChartTitle (depid + "Room No." + type + "real-time curve"); // Title
Renderer. setChartTitleTextSize (20 );
Renderer. setXTitle (); // description of the X axis
Renderer. setAxisTitleTextSize (16 );
Renderer. setAxesColor (Color. BLACK );
Renderer. setLabelsTextSize (); // The font size of the number axis scale.
Renderer. setLabelsColor (Color. BLACK );
Renderer. setLegendTextSize (); // curve description
Renderer. setXLabelsColor (Color. BLACK );
Renderer. setYLabelsColor (0, Color. BLACK); http://download.csdn.net/detail/best198706/5351956
 
Renderer. setMargins (new int [] {20, 30,100, 0 });

XYMultipleSeriesRenderer renderer = new XYMultipleSeriesRenderer ();
Renderer. setChartTitle (depid + "Room No." + type + "real-time curve"); // Title
Renderer. setChartTitleTextSize (20 );
Renderer. setXTitle (); // description of the X axis
Renderer. setAxisTitleTextSize (16 );
Renderer. setAxesColor (Color. BLACK );
Renderer. setLabelsTextSize (); // The font size of the number axis scale.
Renderer. setLabelsColor (Color. BLACK );
Renderer. setLegendTextSize (); // curve description
Renderer. setXLabelsColor (Color. BLACK );
Renderer. setYLabelsColor (0, Color. BLACK); http://download.csdn.net/detail/best198706/5351956

Renderer. setMargins (new int [] {20, 30,100, 0 });
[Java]
XYSeriesRenderer r = new XYSeriesRenderer ();
R. setColor (Color. BLUE );
R. setChartValuesTextSize (15 );
R. setChartValuesSpacing (2 );
R. setPointStyle (PointStyle. CIRCLE );
R. setFillPoints (true );
Renderer. addSeriesRenderer (r); // load curve information. r is the XYSeriesRenderer object.
Renderer. setMarginsColor (Color. WHITE );
Renderer. setPointSize (1.5f );
Renderer. setYLabels (10 );
Renderer. setPanEnabled (false, false); // whether the curve is slidable.
Renderer. setShowGrid (true );
Renderer. setYAxisMax (hlim); // The maximum number of axes.
Renderer. setYAxisMin (llim); // minimum number of axes

Related Article

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.