. Net language APP development platform-Smobiler Learning Log: How to Implement the scatter chart function on the mobile phone, appsmobiler

Source: Internet
Author: User

. Net language APP development platform-Smobiler Learning Log: How to Implement the scatter chart function on the mobile phone, appsmobiler

Smobiler is a development platform that uses the. Net language to develop apps in the VS environment. It may be more convenient than Xamarin.

 

Style 1, Target Style

The following operations are required to achieve the effect:

1. Drag a ScatterChart control from "Smobiler Components" on the toolbar to the form interface.

2. Create data information a. Table Design

Table design information is shown in Figure 1;

B. Table Data

Table data information is shown in figure 2.

Figure 1 Figure 2
3. Modify the attributes of Barscatterchart a. DefaultColors.

Open the Set Editor and click Add. 1. Figure 2

B. DataSource Properties

Set the data source, click "add project data source", and follow the steps to set the data source, 3

Figure 1 Figure 2 Figure 3
C. Load event (add data)
VB:    Private Sub TestScatterChart_Load(sender As Object, e As EventArgs) Handles MyBase.Load        scatterchartTableAdapter.Fill(sjDataSet1.scatterchart)         Me.scatterChart1.DataBind()    End Sub
C#:    private void TestScatterChart_Load(object sender, EventArgs e)    {                scatterchartTableAdapter.Fill(sjDataSet1.scatterchart);        this.scatterChart1.DataBind();    }
D. XAxisLabelMember attributes

Value bound to the X axis, 4

E. YAxisLabelMember attributes

Value bound to the Y axis, 5

F. SeriesMember attributes

Set the data set source of Series, 6

G. SeriesShapMember attributes

Set the data and shape source. The default value is null.

The field data values are classified into five types: ScatterChart. scatterShape. SQUARE and ScatterChart. scatterShape. CIRCLE (Circular), ScatterChart. scatterShape. TRIANGLE (TRIANGLE), ScatterChart. scatterShape. CROSS and ScatterChart. scatterShape. X (horizontal line); the default image is circular.

Figure 4 Figure 5 Figure 6
Ii. Mobile phone effect display

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.