diego@grv.com.br Posted December 28, 2017 Share Posted December 28, 2017 Hello, I would like to know how to create "series" within the "TUniChart" component at run-time. I searched and found several links related to the subject: http://forums.unigui.com/index.php?/topic/9065-create-cahrt-series-at-runtime/?hl=chart http://forums.unigui.com/index.php?/topic/7578-chart-dynamic-series/?hl=chart http://forums.unigui.com/index.php?/topic/3567-dynamic-series-in-tunichart/?hl=chart&do=findComment&comment=38665 http://forums.unigui.com/index.php?/topic/6180-add-dynamic-series-to-unichart/?hl=chart http://forums.unigui.com/index.php?/topic/3567-dynamic-series-in-tunichart/ http://forums.unigui.com/index.php?/topic/9377-pie-chart-2-series-created-at-runtime-with-same-datasource-help/?hl=chart But none of them has a definitive answer. Is it possible to create series within a graphic at runtime or not? If so, how is it done, in a way that works? Please, post a sample. Thanks Link to comment Share on other sites More sharing options...
Sherzod Posted December 28, 2017 Share Posted December 28, 2017 Hello, Can you please specify which version and edition of uniGUI are you using? Link to comment Share on other sites More sharing options...
diego@grv.com.br Posted December 28, 2017 Author Share Posted December 28, 2017 Hello, Thanks for the quick response I'm just researching, I have not downloaded or installed any version of UniGUI yet. But from what I've seen in the forum topics, creating series in the graphics at runtime seems to be a problem, and this is a prerequisite for me to decide which web-development tool I'm going to use. From what I have seen in the examples so far, all that is missing is the dynamic creation of components. Other than that the uniGUI seems to meet 100% my expectations. Link to comment Share on other sites More sharing options...
Sherzod Posted December 28, 2017 Share Posted December 28, 2017 Hi, Thank you for your interest in UniGUI! Please Download the trial version and try, you can see a lot of demo examples, including the creation of dynamic components Best regards, Link to comment Share on other sites More sharing options...
diego@grv.com.br Posted December 29, 2017 Author Share Posted December 29, 2017 Hello, I searched all examples, and there are a lot of cool stuff, and there are some that have the creation of components at runtime, this makes me much more comfortable deciding to use uniGUI. But on the issue of graphics, which are essential for my business, I still have not found anything about the dynamic creation of series. In all examples the series are created at development time. If you can kindly put a snippet of code showing me how to create the series in runtime, I would be very grateful. Looking more calmly, another question arose that I could not explain through the examples: Can I differentiate the number of series of a chart through a single column of my table? For example, I have a column named "Status", where the values can be only 3 types: "Started", "Waiting" and "Finished". Following the example, would I be able to make the graph recognize these values and create the series automatically according to the status field available in my query? I put an attached image to make it easier to understand my question (in summary, I have a table with records and would like to display this table in a unigui chart, as in the chart shown in the image). I thank you for your attention. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now