Last change
on this file since 978 was
861,
checked in by mstoeger, 16 years ago
|
Adjustments on LineChart for new interface. #345
|
File size:
578 bytes
|
Rev | Line | |
---|
[861] | 1 | using System.Windows.Forms;
|
---|
| 2 | using HeuristicLab.Core;
|
---|
| 3 |
|
---|
| 4 | namespace HeuristicLab.Visualization.Test {
|
---|
| 5 | public partial class LineChartTestForm : Form {
|
---|
| 6 | private ChartDataRowsModel model;
|
---|
| 7 |
|
---|
| 8 | public LineChartTestForm() {
|
---|
| 9 | InitializeComponent();
|
---|
| 10 |
|
---|
| 11 | model = new ChartDataRowsModel();
|
---|
| 12 |
|
---|
| 13 | IView view = model.CreateView();
|
---|
| 14 |
|
---|
| 15 | Control viewControl = (Control)view;
|
---|
| 16 | viewControl.Dock = DockStyle.Fill;
|
---|
| 17 |
|
---|
| 18 | lineChartGroupBox.Controls.Add(viewControl);
|
---|
| 19 | }
|
---|
| 20 |
|
---|
| 21 | public ChartDataRowsModel Model {
|
---|
| 22 | get { return model; }
|
---|
| 23 | }
|
---|
| 24 | }
|
---|
| 25 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.