3/30/2024 0 Comments Xojo array![]() ![]() We also arrange the colors of the individual circle sections as an array. It must be ensured that the label sequence corresponds to the order of the data sequence.ĭim labels(-1) As String = Array (“Bread”, “Buns”, “Cake”, “Cookies”) Now we create another array with the corresponding labels. We don’t have to worry about the percentage, because it is automatically calculated based on the specified array. For this we enter in our array the 600$ of bread, 335$ of buns, 309$ of cake and 256$ of cookies.ĭim data(-1) As Double = Array (600, 335, 309, 256) We now want to read from our chart what percentage of the profit is made by bread, buns, cakes and cookies. A pie chart has one-dimensional data, that means that we need to filled one array with data. In this article I would like to show you some examples that demonstrate some possibilities you have to create charts. Do you want to work with chart in your Xojo application? You can use the MBS ChartDirector Plugin in conjunction with the ChartDirector library to display charts. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |