Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/12/08 07:15:24 (16 years ago)
Author:
dwagner
Message:

Added feature: Drawingstyle for lines; #345

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Visualization/LineChart.cs

    r928 r980  
    6969
    7070      for (int i = 1; i < row.Count; i++) {
    71         LineShape lineShape = new LineShape(i - 1, row[i - 1], i, row[i], 0, row.Color, row.Thickness);
     71        LineShape lineShape = new LineShape(i - 1, row[i - 1], i, row[i], 0, row.Color, row.Thickness, row.Style);
    7272        lineShapes.Add(lineShape);
    7373        // TODO each DataRow needs its own WorldShape so Y Axes can be zoomed independently.
     
    9797      // new value was added
    9898      if (index > 0 && index == lineShapes.Count + 1) {
    99         LineShape lineShape = new LineShape(index - 1, row[index - 1], index, row[index], 0, row.Color, row.Thickness);
     99        LineShape lineShape = new LineShape(index - 1, row[index - 1], index, row[index], 0, row.Color, row.Thickness, row.Style);
    100100        lineShapes.Add(lineShape);
    101101        // TODO each DataRow needs its own WorldShape so Y Axes can be zoomed independently.
Note: See TracChangeset for help on using the changeset viewer.