Introducing Smart Mobile Studio, a very clever IDE that allows you to write JScript/HTML5 applications using JScript components and your favourite programming language (that'd be [Smart] Pascal of course for all you Delphi fans out there :-)
TeeChart couldn't resist getting in there to take a look, the release candidate for Smart Mobile Studio version 1.1 from Optimale Systemer includes a tailored version of the non-commercial release of TeeChart for Javascript. There's a demo in there to show you how easy it is to use it.
For example, the components here might be different, but this code syntax will look very familiar to those of you who have worked with Delphi:
unit Form1; interface uses w3system, w3graphics, w3ctrls, w3components, w3forms, w3fonts, w3borders, w3application, w3chart; ... Type TForm1=class(TW3form) private { Private methods } {$I 'Form1:intf'} FChart : TW3Chart; ... procedure TForm1.InitializeObject; begin inherited; FChart := TW3Chart.Create(self); FChart.SetBounds(10,150,300,300); end; Procedure TForm1.SeriesStyleChanged(Sender:TObject); begin FChart.Series.Clear; case W3ComboBox1.SelectedIndex of 0: FChart.addSeries(TBarSeries.Create); 1: FChart.addSeries(TPieSeries.Create); 2: FChart.addSeries(TLineSeries.Create); 3: FChart.addSeries(TPointXYSeries.Create); 4: FChart.addSeries(TAreaSeries.Create); 5: FChart.addSeries(THorizBarSeries.Create); 6: FChart.addSeries(THorizAreaSeries.Create); 7: FChart.addSeries(TDonutSeries.Create); 8: FChart.addSeries(TSmoothLineSeries.Create); 9: FChart.addSeries(TBubbleSeries.Create); 10: FChart.addSeries(TCandleSeries.Create); end; FChart.Series[0].fillSampleValues(); end; |
Adding a few more configuration lines to complete the contents (you can download the demo with the Smart Mobile Studio trial), the output looks like this:
Of course Smart Mobile Studio is packed with lots of other goodies; a cinch to use, we recommend that you take a look, we're sure you'll like it!