Page 5: Application 2: Specifying the Graph Colors - Printable Version
+- Curl Global Community (http://communities.curl.com)
+-- Forum: Tutorials (/forumdisplay.php?fid=3)
+--- Forum: Public Training (/forumdisplay.php?fid=4)
+---- Forum: Curl IDE Made Easy (/forumdisplay.php?fid=6)
+----- Forum: Try 4: Displaying Data as a Graph (/forumdisplay.php?fid=12)
+----- Thread: Page 5: Application 2: Specifying the Graph Colors (/showthread.php?tid=67)
Page 5: Application 2: Specifying the Graph Colors - ashimo - 06-20-2011 01:07 PM
Application 2: Specifying the graph colors
The graphs that we have looked at so far have all used preset colors. We can, however, use options to change the graph color.
Create the 'Try 4-3' Project
Close the Try 4-2 project and then, from the IDE 'File' menu, select 'New Project'. In the 'New Project' dialog box, select “Applet Project” (1), input “Try4-3” (2), specify c:\Curl\lesson\Try4\03_graph_color in the “Directory” field (3), set the API Version to 6.0 (4), and then click OK (5).
Inputting the Program
Next, we’ll input the program. You can copy the program code below or use c:\Curl\Try4\03_graph_color\start.curl and then paste it into the editor in the IDE.
Save the File, and then Execute the Program
After inputting the code, save the file, and then execute the program. The following result will appear in your browser.
The samples that we have looked at so far have all used preset colors for the graphs. Here, we have set whatever color we like for our graph display.
RE: Page 5: Application 2: Specifying the Graph Colors - milijacob - 11-19-2016 01:59 PM
This seems to be great application and i found it very helpful for giving colors to my graph. Thanks for sharing this in detail.