Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/29/08 13:08:35 (15 years ago)
Author:
mstoeger
Message:

Adjustments on LineChart for new interface. #345

Location:
trunk/sources/HeuristicLab.Visualization.Test
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Visualization.Test/HeuristicLab.Visualization.Test.csproj

    r865 r869  
    5252  </PropertyGroup>
    5353  <ItemGroup>
     54    <Reference Include="nunit.framework, Version=2.4.8.0, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL">
     55      <SpecificVersion>False</SpecificVersion>
     56      <HintPath>NUnit-2.4.8-bin\nunit.framework.dll</HintPath>
     57    </Reference>
    5458    <Reference Include="System" />
    5559    <Reference Include="System.Core">
     
    7680      <DependentUpon>LegendForm.cs</DependentUpon>
    7781    </Compile>
     82    <Compile Include="LineChartTestForm.cs">
     83      <SubType>Form</SubType>
     84    </Compile>
     85    <Compile Include="LineChartTestForm.Designer.cs">
     86      <DependentUpon>LineChartTestForm.cs</DependentUpon>
     87    </Compile>
     88    <Compile Include="LineChartTests.cs" />
    7889    <Compile Include="MainForm.cs">
    7990      <SubType>Form</SubType>
     
    89100  </ItemGroup>
    90101  <ItemGroup>
     102    <ProjectReference Include="..\HeuristicLab.Core\HeuristicLab.Core.csproj">
     103      <Project>{F43B59AB-2B8C-4570-BC1E-15592086517C}</Project>
     104      <Name>HeuristicLab.Core</Name>
     105    </ProjectReference>
    91106    <ProjectReference Include="..\HeuristicLab.PluginInfrastructure\HeuristicLab.PluginInfrastructure.csproj">
    92107      <Project>{94186A6A-5176-4402-AE83-886557B53CCA}</Project>
     
    99114  </ItemGroup>
    100115  <ItemGroup>
     116    <EmbeddedResource Include="LineChartTestForm.resx">
     117      <DependentUpon>LineChartTestForm.cs</DependentUpon>
     118    </EmbeddedResource>
    101119    <EmbeddedResource Include="MainForm.resx">
    102120      <DependentUpon>MainForm.cs</DependentUpon>
  • trunk/sources/HeuristicLab.Visualization.Test/LineChartTests.cs

    r861 r869  
     1using System.Drawing;
    12using NUnit.Framework;
    23
     
    89      LineChartTestForm f = new LineChartTestForm();
    910
    10       IDataRow row = new DataRow();
    11       f.Model.AddDataRow(row);
     11      IDataRow row1 = new DataRow();
     12      IDataRow row2 = new DataRow();
     13      IDataRow row3 = new DataRow();
    1214
    13       row.AddValue(10);
    14       row.AddValue(5);
    15       row.AddValue(7);
    16       row.AddValue(3);
    17       row.AddValue(10);
    18       row.AddValue(2);
     15      row1.Color = Color.Red;
     16      row2.Color = Color.Green;
     17      row3.Color = Color.Blue;
     18
     19      row1.Thickness = 3;
     20      row2.Thickness = 4;
     21      row3.Thickness = 5;
     22
     23      f.Model.AddDataRow(row1);
     24      f.Model.AddDataRow(row2);
     25      f.Model.AddDataRow(row3);
     26
     27      row1.AddValue(10);
     28      row1.AddValue(5);
     29      row1.AddValue(7);
     30      row1.AddValue(3);
     31      row1.AddValue(10);
     32      row1.AddValue(2);
     33
     34      row2.AddValue(5);
     35      row2.AddValue(6);
     36      row2.AddValue(5);
     37
     38      row3.AddValue(2);
     39      row3.AddValue(2);
     40      row3.AddValue(2);
     41      row3.AddValue(2);
     42      row3.AddValue(2);
    1943
    2044      f.ShowDialog();
Note: See TracChangeset for help on using the changeset viewer.