I got the following Problem, I bought the Smart Chart Asset of
Toucan Systems.
The video tutorial was made good and seemed to be simple to use.
But after Buying it, I got the bad awaken, the video showed the old Version of the Asset.
When trying to add a Chart as described in the tutorial, no data is shown inside.
I tried copying some Demos but they only work in the original Demo Szene and not outside.
Additional I got NullReferences and UnassignedReference Exceptions even in the Demo Szenes.
So my Question, is there any simple and running way to draw charts in Unity or has anyone experiences with SmartChart and can help me solve my problems with it.
Can I cancel an already done buy?
Thanks.
Better to contact the authors via website support contact page.
https://toucan-systems.pl/kontakt
“You have to uncheck experimental handles to make Smart Chart work.
If you need more help just let me know.”
The experimental handle is unchecked by default.
Reading the comment section in the asset store there is this:
"…The only downside is that I had to comment a line of code that was causing the chart gameobject to refresh and double its size every time I clicked on it. But, no worries, If you get this behavior, for some reason (I didn’t at the start but I got this later), just go to the SmartChartEditor.cs script and do the following modification. Voilá! "
public void Awake()
{
//useCustomHandles = true;
useCustomHandles = false;
}
But this does not resolve the problem completely.
This tool is Awesome and at the same time pretty unstable.
I also notice that WebGlTest is almost empty with no chart
RandomlyGeneratedData scene gives console error messages.
For this problem, I found a partial solution
public Material fillMaterial;
public Shader shader;
Awake() {
shader = Shader.Find("Diffuse");
fillMaterial = new Material(shader);
}
The errors are gone but Smart Chart is not showing the lines in the graph. So is not a real solution.
Is a bit difficult for a novice programmer how to pass X and Y data.
1 Like
Hey, are you sure that your data line color alpha isn’t set to 0?
This asset contains several bugs, so we need to fix one at the time.
I try to make a list using my info and other users info
-
Demos but they only work in the original Demo Szene and not outside.
-
NullReferences and UnassignedReference Exceptions even in the Demo Szenes.
-
Code causing the chart gameobject to refresh and double its size every time I clicked on it.
-
WebGlTest demo scene is almost empty with no chart.
-
RandomlyGeneratedData demo scene gives console error messages.
-
Fill Area Under Line Toggle is not working well; showing fill texture when is disable.
-
Is a bit difficult for a novice programmer to pass X and Y data.
-
When you select the chart, it collapses by itself and is difficult to restore
-
Is not possible to resize the chart when the resolution change using anchors on the corner
“When you select the chart, it collapses by itself and is difficult to restore”
is the most frustrating because it makes it unstable and probably triggering other bugs problems.
So why don’t we start fixing that problem?
If I can, I will try to help. I will make a simple scene so that you can debug.
Thank you for your report, we’ve fixed bugs you’ve mentioned. Update will be soon available on Asset Store 
1 Like
Thanks @Falkosiq , I added two more bugs:
- If you move the anchors the tool became crazy and it does not work as expected.
- Please explain that in a documentation.[Do not move anchors] and how to restore in case we move the anchors. PDF with documentation can be helpful. or a 2017.4 Video Tutorial.
In the new update looks like is not possible to scale the chart.
I’m correct?
How do I pass the second xy line to the chart?
List<SmartChartData> ld_DataIndex = new List<SmartChartData>();
SmartChartData ld_chartLine = new SmartChartData();
ld_DataIndex.Add(ld_chartLine);
ld_chartLine.dataLineColor = lineColor;
ld_chartLine.dataFillColor = chartColor;
List<Vector2> tuturu_ld = new List<Vector2>();
tuturu_ld.Add(new Vector2(alpha, ld));
ld_chartLine.data = tuturu_ld.ToArray();
ld_DataIndex[0] = ld_chartLine;
You can still scale your chart using built-in unity handles (shortcut is T on keyboard). If you want to display multiple data sets you need to store them in the same array. I would recommend analysing sample codes included in SmartChart/Demo/Scripts 
1 Like
Hi @Falkosiq I send you an email and a PM with the link of a clean project for debugging that has a bug that does not let me make the final build.
I install Smart Chart
After that Smart Chart gives you a warning
I take that out by adding an “if” statement in SmartChartEditor.cs just in case useCustomHandles is used in a magic way
public void Awake()
{
useCustomHandles = false;
if (useCustomHandles)
{
// DO NOTHING..
}
}
I also found this error
This error does not let you build and run the project.
Was difficult to understand how was triggering this particular error.
How to fix this?
I was able to create this using smart charts. But I’m unable to use the Unity the Bul&Run option.