We are proudly presents our new package for Unity: ProChart
ProChart has been designed to create different type of graphs and charts within a Unity3D project. Easily customizable with properties and delegates with minimal scripting knowledge required!
Render into Unity 5 Canvas based UI or any 2D/3D meshes.
Compatible with Unity 4.x and Unity 5.x and supports mobile platforms.
Please come back with feedbacks and your wish list!
Support:
In case you need quick answer to your question, please send an email. You can find our support mail on the product page.
We can’t guarantee quick response time on the forum, but we always do our best to answer mails as quickly as possible!
We found a bug in our rendering due to changes have been made in Unity 5.2. Thanks to one of our user!
We are busy with the fix. We are already fixed several versions, but unfortunately still broken in some version.
Our goal is to make it version independent so 1 version of ProChart should work for all version of Unity since released. Until we have the chance to do this - depends on Unity releases - we will make it this way.
We want to keep you updated on which version is stable, what are the progress of the current bugfix:
ProChart 1.0 is running well on Unity version 4.6, 5.0 - 5.1.9 (released in AssetStore)
ProCahrt 1.1 is running in 5.2.2 (current latest Unity) (not yet released).
Unfortunately this fix does not work in version 5.2.0 and 5.2.1, we are still working on this and will be included.
We are going to release a new version with the fix for all versions this week.
We don’t have any format reader in the package. It’s only about visualise it. If you want to show excel data, you need to implement or find a parser to read the excel file first. If you read the excel and feed the data to the data set, the chart will show the results.
read you excel with your code or 3rd party libs. Alternatively you can also export excel to csv format which is easier to parse. (simple comma separated list)
one you can read the data you need to those set the data for your chart, as it is in the demo.
There are several excel format reader available in unity, but never used any.
yes it works on mobiles and you can add labels.
Check the demo ProChart - Creative Pudding what you can see there works on mobiles too. In our demo we draw labels only when you hover over a data, in mobiles you cannot hover (no mouse over) so you need to implement it a bit differently. (you show it always or you trigger visibility of labels with click and not “OnMouseOver”.)
Since this (labels) not part of the ProChart lib but it’s in the demo code (show how to use the prochart), you are free to change it the way you need.
You need to set the the chart (line or Bar) colors with the SetColor() function:
///
/// Set a color at given location for normal item
///
public void SetColor(int row, Color32 color1, Color32 color2 = default(Color))
example code:
//assing a lineChart to this object
public LineChart chartView;
…
chartData = new ChartData2D();
chartView.SetValues(ref chartData);
//assign colors
chartView.SetColor(0, Color.red);
chartView.SetColor(1, Color.green);
chartView.SetColor(2, Color.blue);