We have a black dash cross lines display at the center of of the ScatterChart. In 6.3v, it works well. After being upgraded to 11.1v, the color for the dash lines became much lighter (hard to see on the graph) even it is set to black: line.PE.Stroke=Color.Black.
Below is function for generate line:
private void GenerateLine(SceneGraph scene, Point startPoint, Point endPoint, Color color, int width, byte opacity, LineStyle style) { Line line = new Line(); line = new Line(); line.p1 = startPoint; line.p2 = endPoint; line.PE.Stroke = color; line.PE.StrokeWidth = width; line.PE.StrokeOpacity = opacity; line.lineStyle = style;
scene.Add(line); }
I haved tried to set to different colors. Seems all the colors are much lighter than expected. Could anybody help on this?
Thanks!
Silly me! remove line.PE.StrokeOpacity = opacity; solves the problem.