tcoates Posted May 15, 2017 Share Posted May 15, 2017 I am playing (testing) other charting components and currently looking at TeeCharts (unit uniTeeChart (from 2014?)). I was able to build and install the component into Delphi XE10.1. Then wrote a small test program. I have added screen from a small demo program I wrote. I want to know how to 1. only show values 1, 2, 3 (and not 1.5, 2.5, 3.5) on the y-axis 2. remove shadows 3. remove the rounded border from the chart component 4. etc Can someone give some advice how to do this? Thanks in advance. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted May 15, 2017 Share Posted May 15, 2017 Hi, ** 1. only show values 1, 2, 3 (and not 1.5, 2.5, 3.5) on the y-axis As a variant of the solution, you can use this approach for now I think, "UniChart" -> ClientEvents -> ExtEvents -> Ext.chart.Chart [chart] -> function chart.beforerender: function chart.beforerender(sender, eOpts) { var me=sender.axes.items[0]; me.majorTickSteps=1; me.minimum=0; } Best regards, Quote Link to comment Share on other sites More sharing options...
Sherzod Posted May 15, 2017 Share Posted May 15, 2017 2. remove shadows Have you tried this property ?: UniChart -> Shadow Quote Link to comment Share on other sites More sharing options...
tcoates Posted May 15, 2017 Author Share Posted May 15, 2017 adding ext function... function beforerender(sender, eOpts){ var me=sender.axes.items[0]; me.majorTickSteps=1; me.minimum=0;} gives error d.el is null ALSO... shadow is not a property of a UniTeeChart? Is there a more recent version? Or are you doing this via some other method? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted May 15, 2017 Share Posted May 15, 2017 adding ext function... function beforerender(sender, eOpts) { var me=sender.axes.items[0]; me.majorTickSteps=1; me.minimum=0; } "UniChart" -> ClientEvents -> ExtEvents -> Ext.chart.Chart [chart] -> function chart.beforerender: function chart.beforerender(sender, eOpts) { var me=sender.axes.items[0]; me.majorTickSteps=1; me.minimum=0; } Quote Link to comment Share on other sites More sharing options...
Sherzod Posted May 15, 2017 Share Posted May 15, 2017 And which edition and build are you using?! Quote Link to comment Share on other sites More sharing options...
tcoates Posted May 15, 2017 Author Share Posted May 15, 2017 Using... - Delphi XE10.1 - TeeCharts is version bundled with Delphi XE10.1 - unigui 0.99.96.1341 - uniTeeChart is from link in forums but created in 2014. the events that you refer to is available for TUniChart but NOT TUniTeeChart. see attached image.. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted May 15, 2017 Share Posted May 15, 2017 - unigui 0.99.96.1341 First of all try to upgrade to the latest version, build Quote Link to comment Share on other sites More sharing options...
tcoates Posted May 19, 2017 Author Share Posted May 19, 2017 after upgrading to release candidate 1391, I then had to rebuild/install UniGui Teecharts into 10.1.... it appear component palette. the chart can be added to a form. But now when I run the web application I get an EReadError with message 'Error reading UniTeeChart1.Title.Text.Strings: interface not supported" It was working before I upgraded to the release candidate?!? Quote Link to comment Share on other sites More sharing options...
leocmarin Posted July 21, 2017 Share Posted July 21, 2017 Hello tcoates Where can I find this version of TeeChart for uniGui? Thanks in advance 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.