Hello,
In my project, Im collecting the information from the database from a webservice, and drawing graphs,
I dont have problem with the line and bar graph, even I’m getting pie chart, but i couldn’t include the legend and the label for individual blocks dynamically in pie chart.
i need help in getting the information to name the block or else to display the value or percentage over the block dynamically and the legend section,
requirement for the piechart may varie according to the information,
it will be helpfull if i get atleast sample code for dynamic operation,
Email-Id: akshaykumar.durga@gmail.com
I’m new to unity, I’m using graph maker package to create graphs,
I learnt to generate line, bar and pie graphs, but stuck with the labels and legends for pie graph, i want to generate those dynamically…
I’m getting data from server for pie graph, graph is plotting but i dont kno how to generate the labels over graph and legend,
please guide me in this.
Are you trying to export the data from Data Explorer into a .csv file and then generating graphs using the Graph Explorer found in our Assets Store?
If so, I would refer to that publisher’s forum for help with generating the graphs and adding labels/legends since we are unable to offer support for that package as it is not developed by Unity and I do not want to give you inaccurate information.
Sorry we couldn’t be of more help. Feel free to reach out if you have any more questions!
thank you for the responce,
I’m using graph maker package to draw the graph,
Im getting data from server and the graphs are generated, but i stuck in placing the legend over pie slice dynamically.
i need help in placing the name or amount of the slice over the slice, and it should to be dynamic. because everytime i run the graph the values of the slice differs.
hope u got my problem
@AKSHAYKUMAR1992 , the top row/first line of the .csv file that you export from Data Explorer on our dashboard should give you the keys you need to create a legend.
I understand that creating graphs and making it work the way you want can be very frustrating and I’ve struggled with it countless times. Unfortunately, the Graph Maker package was not created by Unity and we are not familiar with how to generate graphs and charts using that package. I would suggest using the publisher’s forum for help with creating your dynamic pie chart.
There are also some video links on the Graph Maker package page as well as a YouTube tutorial posted by the publisher that might be helpful.
Please let me know if this helps or if you have any additional questions!
@rayw24 , thanks for the suggestions,
I tried Graph Maker tutorials and YouTube tutorials, but i didnt get info about the pie graph legends.
I’ll try by myself.
once again THANKYOU for making time to suggest me, reach u if i got doubts in the future.
@AKSHAYKUMAR1992 , that isn’t a tool we have on the analytics dashboard as of right now.
This seems like a great feature, and I would suggest that you vote on it on our feedback site (or add the idea if it’s not already there): https://feedback.unity3d.com/forums…f8=✓&status=0&category=analytics&view=hottest We look at this feedback page when we are deciding what features we should work on going forward, and knowing which requests are most popular among our users is very helpful. It would be much appreciated.
I achieved using both Bar and line Graphs in a single X&Y axis with somw logic,
we need to take both Bargraph and line graph and any one’s background need to be hidden or unchecked in the Inspector window.
actually I’m displaying both Bar and line Graphs, but Line Graph’s Background is not vissible,