Adding a Chart Screen

Use the Chart Screen template to add chart to your project.

To add a Chart Screen to your project, follow these steps:

  1. In the Solution Explorer, right-click the Screens folder and select Add Screen.
  2. In the list of screen templates, select Chart Screen.
    If you do not see the Chart Screen option, make sure you have installed LightSwitch Desktop Edition and included the extension in the project.
  3. Under Provide screen information, enter a Screen Name and select a data source from the list under Screen Data.
  4. Click OK. The C1Chart control is automatically added to the screen and bound to the selected data.
  5. Run the project, and the application will look similar to this example.
 Even if you activate your license during installation, the first time you run a new Chart application, a reminder screen will appear. To prevent that from happening, open the LightSwitch screen designer, select the C1Chart node, and save the screen. In the Properties window, you should see a green shield icon next to the About C1Chart link. This indicates that C1Chart is licensed. You need to do this for every Chart screen you create, and every Data Grid that you replace with C1Chart.

 

 


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

Product Support Forum  |  Documentation Feedback