ComponentOne Studio - Cloud Business App Edition
Wijmo FlexChart Screen

FlexChart screen is used to visualise a list of items in a variety of chart types. The screen enables you to add customizable charts to your application. Depending on the type of data you need to display, you can represent your data in column, bar, scatter, bubble, line, and area charts, to name a few, or a combination of these. On moving mouse over a chart element, tooltip appears that shows details about the data point.

Properties panel in Visual Studio can be used to set the properties for the control in design view. For example, use default property editor to adjust the control's size, position of label for the display name, or default color palette to set colors for each series in the control. However, ComplexPropertyEditor is used to edit complex properties such as HeaderStyle, FooterStyle, or DataLabel.

You can include multiple series in one chart to compare items across different categories. Control the appearance and behavior of X and Y axes through AxisX and AxisY properties respectively. Header and footer styles for charts can also be customized as per users requirements.

This section describes how to use Wijmo FlexChart Screen template and add data.
This topic comprises of three steps:

Step 1: Add a Screen

Step 2: Add Data to Screen

Step 3: Build and Run the Project

The following image shows how the FlexChart appears after completing the steps above:

Step 1: Add a Screen

  1. In the Solution Explorer, right click the client folder of your application (for example: Application1.HTMLClient) and click 'Add Screen...'.
  2. The Add New Screen dialog appears, select the screen template named Wijmo FlexChart Screen for your application.

  3. Under Provide screen information, enter a name (for example: FlexChartBrowse) for the screen in Screen Name text box.
Back to Top

Step 2: Add Data to Screen

The example uses data from local database file ApplicationData.mdf.

  1. Under Screen Data within Provide screen information section of Add New Screen dialog, click the drop-down arrow.
  2. A list of tables appears. Select ApplicationData.Fruits.

  3. Click OK. The screen, FlexChartBrowse.lsml is added to your application
  4. FlexChartBrowse.lsml page is added to the project under Screens folder, and the screen appears as shown in the image below:

Step 3:Build and Run the Project

  1. Click Build | Build Solution to build the project.
  2. Press F5 to run the project.

Back to Top

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Documentation Feedback  |  Product Support Forum