Search found 5 matches
- Thu Sep 20, 2007 8:42 pm
- Forum: .NET
- Topic: [Solved] Series lines are black regardless of color set
- Replies: 8
- Views: 5068
In the process of creating that small sample, I figured out the issue. Because I am porting legacy C++ code to C#, I was adding points to the series using the Add(double, double, Color) method, because that's how it was done in the old VCL version of this piece of software. The color that was always...
- Thu Sep 20, 2007 4:13 pm
- Forum: .NET
- Topic: [Solved] Series lines are black regardless of color set
- Replies: 8
- Views: 5068
- Thu Sep 20, 2007 4:00 pm
- Forum: .NET
- Topic: [Solved] Series lines are black regardless of color set
- Replies: 8
- Views: 5068
I found something odd. I added a BeforeDrawValues event to each of my line series and inspected the values in the LinePen and Brush properties of the line. When using the color {0, 170, 109}, the Brush.Color and Brush.ForegroundColor inspect correctly, but LinePen.Color has somehow been divided by t...
- Thu Sep 20, 2007 3:38 pm
- Forum: .NET
- Topic: [Solved] Series lines are black regardless of color set
- Replies: 8
- Views: 5068
- Wed Sep 19, 2007 5:29 pm
- Forum: .NET
- Topic: [Solved] Series lines are black regardless of color set
- Replies: 8
- Views: 5068
[Solved] Series lines are black regardless of color set
I am setting a series line color as such: line.LinePen.Width = 2; line.LinePen.Color = color; line.Pointer.Brush.Color = color; line.Pointer.Pen.Color = color; line.Color = color; line is a Styles.Line instance. The issue is that the lines are drawn in black on the chart. They show up in the correct...