mjcramos Posted September 22, 2017 Share Posted September 22, 2017 Hi, I'm building a graph using Tunichart, but I can not get the legend to show all the items, I tried to reduce the font size, but it's still not right, Quote Link to comment Share on other sites More sharing options...
Sherzod Posted September 22, 2017 Share Posted September 22, 2017 Hi, Can you make a testcase if possible ? Best regards, Quote Link to comment Share on other sites More sharing options...
mjcramos Posted September 27, 2017 Author Share Posted September 27, 2017 test project testcase.rar Quote Link to comment Share on other sites More sharing options...
mjcramos Posted October 4, 2017 Author Share Posted October 4, 2017 + Quote Link to comment Share on other sites More sharing options...
Sherzod Posted October 4, 2017 Share Posted October 4, 2017 Hi, Thanks for the testcase, but I think you should wait for ExtJS6 Best regards, Quote Link to comment Share on other sites More sharing options...
mjcramos Posted October 5, 2017 Author Share Posted October 5, 2017 Do you have a launch forecast? Quote Link to comment Share on other sites More sharing options...
jahlxx Posted October 26, 2017 Share Posted October 26, 2017 Hi. Is there a workaround for this, until update to ExtJS6 comes? Thanks. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted October 26, 2017 Share Posted October 26, 2017 Hi, We will try to find a workaround. Quote Link to comment Share on other sites More sharing options...
jahlxx Posted October 26, 2017 Share Posted October 26, 2017 Ok. Thanks Quote Link to comment Share on other sites More sharing options...
jahlxx Posted October 27, 2017 Share Posted October 27, 2017 Hi. While waiting for a workaround, I need to not show the legend in some cases. When set the property legent.visible to false, I get an ajax error: config.legend is undefined It's due to this: function chart.beforeInit(sender, config){ config.legend.enableItemEvents = false} How to refefine this function, to only run when legend is enabled? Thanks. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted October 27, 2017 Share Posted October 27, 2017 Hi, When set the property legent.visible to false, I get an ajax error: config.legend is undefined Try this: function chart.beforeInit(sender, config) { if (config.legend) { config.legend.enableItemEvents = false; }; } Quote Link to comment Share on other sites More sharing options...
jahlxx Posted October 27, 2017 Share Posted October 27, 2017 Ok. Thanks. Quote Link to comment Share on other sites More sharing options...
jahlxx Posted October 27, 2017 Share Posted October 27, 2017 I'm trying to workaround the problem of the legend size, and trying to do this. A chart, with legend visible. Generate a dynamic stringgrid with 2 columns, and placing in the 2nd. column the legend caption. I can't access the color asigned to every element of the chart (in my case pie chart). This works ok. The only thing thar I don't know how to do is hot to color every cell of the first column of the stringgrid with its corresponding color, because don't know the color assigned to every element of the serie after the pie is generated. Perhaps this is a bad or stupid solution, but could be enough for me right now. Any idea? Thanks. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted October 27, 2017 Share Posted October 27, 2017 The only thing thar I don't know how to do is hot to color every cell of the first column of the stringgrid with its corresponding color, because don't know the color assigned to every element of the serie after the pie is generated. UniPieSeries, these properties: 1. -> DefaultColors = False 2. -> Colors Quote Link to comment Share on other sites More sharing options...
jahlxx Posted October 27, 2017 Share Posted October 27, 2017 Ok. Is there a ordered list of default colors? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted October 27, 2017 Share Posted October 27, 2017 Ok. Is there a ordered list of default colors? Try this list: "#94ae0a", "#115fa6", "#a61120", "#ff8809", "#ffd13e", "#a61187", "#24ad9a", "#7c7474", "#a66111" Quote Link to comment Share on other sites More sharing options...
jahlxx Posted October 27, 2017 Share Posted October 27, 2017 Ok. Tried, but the final result is not good. The solution is to have the legend smaller than now appears. I'll wait that workaround. Thanks. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted October 27, 2017 Share Posted October 27, 2017 Ok, we will try Quote Link to comment Share on other sites More sharing options...
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.