diff --git a/GraphDrawer/GraphDrawer.csproj b/GraphDrawer/GraphDrawer.csproj index 4871cbada1a720476e3478d564932c0abbbd6580..00d0753aaab712ca7e1a6173c5170d4396bba466 100644 --- a/GraphDrawer/GraphDrawer.csproj +++ b/GraphDrawer/GraphDrawer.csproj @@ -34,6 +34,9 @@ <ItemGroup> <Reference Include="System" /> <Reference Include="System.Core" /> + <Reference Include="System.Drawing" /> + <Reference Include="System.Windows.Forms" /> + <Reference Include="System.Windows.Forms.DataVisualization" /> <Reference Include="System.Xml.Linq" /> <Reference Include="System.Data.DataSetExtensions" /> <Reference Include="Microsoft.CSharp" /> diff --git a/GraphDrawer/Program.cs b/GraphDrawer/Program.cs index 093c4b78c0086a6ff5e2ee73a28327b1d6960029..31d4120c3dac63b66ce60cbf9fe7228d6b832814 100644 --- a/GraphDrawer/Program.cs +++ b/GraphDrawer/Program.cs @@ -4,6 +4,8 @@ using System.Linq; using System.Text; using System.Threading.Tasks; using TUGraz.VectoCore.Tests.Utils; +using System.Drawing; +using System.Windows.Forms.DataVisualization.Charting; namespace GraphDrawer { @@ -11,12 +13,7 @@ namespace GraphDrawer { private static void Main(string[] args) { - var imgV3 = @"..\..\..\VectoCoreTest\bin\Debug\Coach_DriverStrategy_Drive_50_slope_dec-inc.vmod"; - var imgv22 = - @"..\..\..\VectoCoreTest\TestData\Integration\DriverStrategy\Vecto2.2\Coach\24t Coach_Cycle_Drive_30_Dec_Increasing_Slope.vmod"; - - GraphWriter.Write(imgV3, imgv22); - //GraphWriter.Write(args[0], args[1]); + GraphWriter.Write(args[0], args[1]); } } } \ No newline at end of file