. Net language APP development platform-Smobiler Learning Log: How to quickly implement the CandleStickChart control on mobile phones,. net

Source: Internet
Author: User

. Net language APP development platform-Smobiler Learning Log: How to quickly implement the CandleStickChart control on mobile phones,. net

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

 

1. Target Style

The following operations are required to achieve the effect:

1. Drag a CandleStickChart control from "scycler 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 attribute a. DefaultColors of Barcandlestickchart.

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 TextCandleStickChart_Load(sender As Object, e As EventArgs) Handles MyBase.Load        candlestickchartTableAdapter.Fill(sjDataSet2.candlestickchart)         Me.candleStickChart1.DataBind()    End Sub
C#:    private void TextCandleStickChart_Load(object sender, EventArgs e)    {                candlestickchartTableAdapter.Fill(sjDataSet2.candlestickchart);        this.candleStickChart1.DataBind();    }
D. ValueCloseMember attributes

Bound to the market value data source, 4

E. ValueHighMember attributes

Bind the highest value data source, 5

F. ValueLowMember attributes

Bind the lowest value data source, 6

G. ValueOpenMember attributes

Bind a market value data source, 7

Figure 4 Figure 5 Figure 6 Figure 7
H. XAxisLabelMember attributes

Value bound to the X axis, 8

I. SeriesMember attributes

Set the data set source of Series, 9

Figure 8 Figure 9
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.