/home/koen/project/wt/cvs/wt/examples/charts/ChartsExample.h

Go to the documentation of this file.
00001 // This may look like C code, but it's really -*- C++ -*-
00002 /*
00003  * Copyright (C) 2008 Emweb bvba, Kessel-Lo, Belgium.
00004  *
00005  * See the LICENSE file for terms of use.
00006  */
00007 #ifndef CHARTS_EXAMPLE_H_
00008 #define CHARTS_EXAMPLE_H_
00009 
00010 #include <Wt/WApplication>
00011 
00012 #include <iostream>
00013 
00014 namespace Wt {
00015   class WAbstractItemModel;
00016 
00017   namespace Ext {
00018     class TableView;
00019   }
00020 }
00021 
00026 
00029 class ChartsExample : public Wt::WApplication
00030 {
00031 public:
00034   ChartsExample(const Wt::WEnvironment& env);
00035 
00036 private:
00038   void timeSeriesExample();
00039 
00041   void categoryExample();
00042 
00044   void pieExample();
00045 
00046   void scatterPlotExample();
00047 
00049   Wt::WAbstractItemModel *readCsvFile(const char *fname);
00050 };
00051 
00054 #endif // CHARTS_EXAMPLE_H_

Generated on Fri Jul 25 17:05:59 2008 for Wt by doxygen 1.5.3