cob007 19 Posted December 10, 2019 Report Share Posted December 10, 2019 I can take a look at that. And yes I do want to redo the chart system!Are you still reworking chart system Quote Link to post Share on other sites
HelloInsomnia 1103 Posted December 21, 2019 Author Report Share Posted December 21, 2019 Are you still reworking chart system V2 should be out in the next few days. I deleted all the old chart commands, started completely from scratch. 1 Quote Link to post Share on other sites
HelloInsomnia 1103 Posted December 29, 2019 Author Report Share Posted December 29, 2019 Update V 2.0 New charting system, read more about it here: https://elitebotters.com/elite-ubot-2-0-new-epic-charting-system/ Download a demo project here: https://elitebotters.com/wp-content/uploads/2019/12/Elite-Ubot-Chart-Demo-Project-1.1.zip Demo project contains an exe so that you don't need the plugin yet if you want to check it out. It also contains the source code so you can see how it was made! The demo project uses Ultimate UI for the GUI. Quote Link to post Share on other sites
HelloInsomnia 1103 Posted December 29, 2019 Author Report Share Posted December 29, 2019 Full tutorial on how to create a chart from scratch: https://elitebotters.com/how-to-create-charts-using-elite-ubot-plugin/ Quote Link to post Share on other sites
hienquoc 3 Posted December 29, 2019 Report Share Posted December 29, 2019 Can I see b some images of the chart. I'm on mobile and traveling Sent from my SM-G955U using Tapatalk Quote Link to post Share on other sites
HelloInsomnia 1103 Posted December 29, 2019 Author Report Share Posted December 29, 2019 Can I see b some images of the chart. I'm on mobile and traveling Sent from my SM-G955U using Tapatalk Here are some images from the demo: 1 Quote Link to post Share on other sites
HelloInsomnia 1103 Posted December 31, 2019 Author Report Share Posted December 31, 2019 Update V 2.1Added: Add Stock Series To Cartesian ChartAdded: Set Stock Series PropertyFixed: Chart Browser Switcher now switches between browser and charts correctlyFixed: Chart Browser Switcher name wasn't prepended with "EB"Fixed: Gap at top of chart when using Chart Browser SwitcherUpdated: Demo projectCouple of pics of the new stock charts: Quote Link to post Share on other sites
hienquoc 3 Posted December 31, 2019 Report Share Posted December 31, 2019 (edited) Will it read websocket live data?Is there a bundled plugin deal with the UI since I need both to run? Sent from my SM-G955U using Tapatalk Edited December 31, 2019 by hienquoc Quote Link to post Share on other sites
HelloInsomnia 1103 Posted January 1, 2020 Author Report Share Posted January 1, 2020 Will it read websocket live data?Is there a bundled plugin deal with the UI since I need both to run? Sent from my SM-G955U using Tapatalk Ultimate UI is not required to use the charts but it is highly recommended and you will need it or another xaml plugin in order to display more than one chart at a time. Both are currently on sale for the holidays but that sale is ending tonight. This plugin does not do websockets, you will need to have the data already in order to display the chart. Soon there will be a command to update the values already on the chart so you could grab the data and then loop through and add the values to the chart as you get it. Quote Link to post Share on other sites
cob007 19 Posted January 2, 2020 Report Share Posted January 2, 2020 Ultimate UI is not required to use the charts but it is highly recommended and you will need it or another xaml plugin in order to display more than one chart at a time. Both are currently on sale for the holidays but that sale is ending tonight. This plugin does not do websockets, you will need to have the data already in order to display the chart. Soon there will be a command to update the values already on the chart so you could grab the data and then loop through and add the values to the chart as you get it.Thanks nice, great update, what you are talking about is graph interactivity am i correct, so we can move the mouse pointer to the graph and can get values from the graph Quote Link to post Share on other sites
Eddie 14 Posted January 2, 2020 Report Share Posted January 2, 2020 can we adjust the data in the graph? let say, client need to set a daily plan of running times, so he can adjust the running times directly in the graph Quote Link to post Share on other sites
HelloInsomnia 1103 Posted January 2, 2020 Author Report Share Posted January 2, 2020 Thanks nice, great update, what you are talking about is graph interactivity am i correct, so we can move the mouse pointer to the graph and can get values from the graph What I meant by grab the data was if they wanted to get the stock data using something like http post in a loop. Then as they get the data in they could add to the graph (when I add the update command in that is). Quote Link to post Share on other sites
HelloInsomnia 1103 Posted January 2, 2020 Author Report Share Posted January 2, 2020 can we adjust the data in the graph? let say, client need to set a daily plan of running times, so he can adjust the running times directly in the graph You will be able to update the values once I add in that command. When you say "adjust the running times directly in the graph" - what do you mean by that? How would they do that? Quote Link to post Share on other sites
cob007 19 Posted January 2, 2020 Report Share Posted January 2, 2020 What I meant by grab the data was if they wanted to get the stock data using something like http post in a loop. Then as they get the data in they could add to the graph (when I add the update command in that is).Thanks nick, is it possible to get the data from the graph also by clicking on graph, like as an example, say i have a bar chart and i click on the bar chart, can it read values to a variables for some other operation, Quote Link to post Share on other sites
Eddie 14 Posted January 3, 2020 Report Share Posted January 3, 2020 You will be able to update the values once I add in that command. When you say "adjust the running times directly in the graph" - what do you mean by that? How would they do that?somewhat like drag and drop the point in the graph to set the value. Quote Link to post Share on other sites
HelloInsomnia 1103 Posted January 8, 2020 Author Report Share Posted January 8, 2020 Thanks nick, is it possible to get the data from the graph also by clicking on graph, like as an example, say i have a bar chart and i click on the bar chart, can it read values to a variables for some other operation, This should be possible yes but I'll have to look at how to go about implementing it in the plugin since there could be different kinds of points with different parameters. Quote Link to post Share on other sites
HelloInsomnia 1103 Posted January 8, 2020 Author Report Share Posted January 8, 2020 somewhat like drag and drop the point in the graph to set the value. Not sure about this one I'd have to look into it. 1 Quote Link to post Share on other sites
cob007 19 Posted January 11, 2020 Report Share Posted January 11, 2020 BASED on your example here; https://elitebotters.com/how-to-create-charts-using-elite-ubot-plugin/ Let us say i want to update chart values 3 times and i want to update the values of jamie for last 9 years which will change say 3 times for 3 years but then if i want to run this commnd 3 times, not in loop but simply update the chart 3 times to reflect new values, how should we do that because if i change the values plugin command("EliteUbot.dll", "EB Add Series To Cartesian Chart", "employeeSales", "jamieSeries", "LineSeries", "Jamie", "134|139|151") of jamie from 134, 139, 151 and the chart displays correctly first time, now next time i want his values to be 130,138,152 but then in that case it throws error saying an item with the same key has been added. unless i change the series name to something else like jamieseries1 but then i want a new chart to show up second time with new values for jamie, sara etc and not update the same chart with another series name in such a case where i want say a new chart with same series but new values how to do that, so that chart gets refreshed each time say i click the next button and each time chart gets updated with new sales values but the series name like jamie, sara etc remain the same Quote Link to post Share on other sites
HelloInsomnia 1103 Posted January 11, 2020 Author Report Share Posted January 11, 2020 For now, you can delete the axis by creating a new axis (with a new name) and leaving the default "Clear Axis Collection" to be true. This will allow you to create more labels (in this case years). Then you can delete the series and add another one with more data in it. Note that when you run this the chart colors will also change because we are creating a new series but you should have no trouble fixing this by customizing the series properties such as fill and stroke. plugin command("EliteUbot.dll", "EB Create Chart", "Cartesian Chart", "employeeSales") plugin command("EliteUbot.dll", "EB Chart Browser Switcher", "Chart", "employeeSales") plugin command("EliteUbot.dll", "EB Add Series To Cartesian Chart", "employeeSales", "jamieSeries", "LineSeries", "Jamie", "134|139|151") plugin command("EliteUbot.dll", "EB Add Series To Cartesian Chart", "employeeSales", "saraSeries", "LineSeries", "Sara", "121|167|146") plugin command("EliteUbot.dll", "EB Add Axis To Chart", "employeeSales", "employeeSalesXAxis", "X", "Year", "true") plugin command("EliteUbot.dll", "EB Set Axis Property", "employeeSalesXAxis", "Foreground", 000000) plugin command("EliteUbot.dll", "EB Set Axis Property", "employeeSalesXAxis", "FontSize", 16) plugin command("EliteUbot.dll", "EB Set Axis Property", "employeeSalesXAxis", "Labels", "2016|2017|2018") plugin command("EliteUbot.dll", "EB Add Axis To Chart", "employeeSales", "employeeSalesYAxis", "Y", "Sales", "true") plugin command("EliteUbot.dll", "EB Set Axis Property", "employeeSalesYAxis", "Foreground", 000000) plugin command("EliteUbot.dll", "EB Set Axis Property", "employeeSalesYAxis", "FontSize", 16) plugin command("EliteUbot.dll", "EB Set Chart Property", "employeeSales", "LegendLocation", $plugin function("EliteUbot.dll", "$EB Get Legend Location", "Right")) plugin command("EliteUbot.dll", "EB Update Chart", "employeeSales") wait(5) plugin command("EliteUbot.dll", "EB Add Axis To Chart", "employeeSales", "employeeSalesXAxis2", "X", "Year", "true") plugin command("EliteUbot.dll", "EB Set Axis Property", "employeeSalesXAxis2", "Labels", "2016|2017|2018|2019|2020") plugin command("EliteUbot.dll", "EB Set Axis Property", "employeeSalesXAxis2", "Foreground", 000000) plugin command("EliteUbot.dll", "EB Set Axis Property", "employeeSalesXAxis2", "FontSize", 16) plugin command("EliteUbot.dll", "EB Delete Series", "employeeSales", "jamieSeries") plugin command("EliteUbot.dll", "EB Add Series To Cartesian Chart", "employeeSales", "jamieSeries", "LineSeries", "Jamie", "134|139|151|165|161") plugin command("EliteUbot.dll", "EB Delete Series", "employeeSales", "saraSeries") plugin command("EliteUbot.dll", "EB Add Series To Cartesian Chart", "employeeSales", "saraSeries", "LineSeries", "Sara", "121|167|146|171|155") plugin command("EliteUbot.dll", "EB Update Chart", "employeeSales") Quote Link to post Share on other sites
cob007 19 Posted January 12, 2020 Report Share Posted January 12, 2020 can we alter the legend text font because if the background is black in colour the legen text being black in colour is not visible Quote Link to post Share on other sites
cob007 19 Posted January 13, 2020 Report Share Posted January 13, 2020 Also is there a way to export the chart as an image file Quote Link to post Share on other sites
HelloInsomnia 1103 Posted January 15, 2020 Author Report Share Posted January 15, 2020 can we alter the legend text font because if the background is black in colour the legen text being black in colour is not visible Yes, can add this in. Also is there a way to export the chart as an image file Almost positive can add this in. Quote Link to post Share on other sites
HelloInsomnia 1103 Posted February 4, 2020 Author Report Share Posted February 4, 2020 Update V 2.2 Added: Save Chart ImageJust a note that if you want the chart to have a background color in the image be sure to set it via the Set Chart Property command. Quote Link to post Share on other sites
cob007 19 Posted February 4, 2020 Report Share Posted February 4, 2020 Update V 2.2 Added: Save Chart ImageJust a note that if you want the chart to have a background color in the image be sure to set it via the Set Chart Property command. thanks nick, is this fixed too the legend text can we alter the legend text font because if the background is black in colour the legen text being black in colour is not visible Yes, can add this in. Quote Link to post Share on other sites
Anonym 53 Posted November 20, 2021 Report Share Posted November 20, 2021 Is there by any chance any update that works with UBS 6.2.7 and thereafter? Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.