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, 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, 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 Link to comment Share on other sites More sharing options...
mjcramos Posted October 4, 2017 Author Share Posted October 4, 2017 + 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, 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? 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. 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. Link to comment Share on other sites More sharing options...
jahlxx Posted October 26, 2017 Share Posted October 26, 2017 Ok. Thanks 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. 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; }; } Link to comment Share on other sites More sharing options...
jahlxx Posted October 27, 2017 Share Posted October 27, 2017 Ok. Thanks. 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. 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 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? 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" 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. Link to comment Share on other sites More sharing options...
Sherzod Posted October 27, 2017 Share Posted October 27, 2017 Ok, we will try Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now