Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
105
Issue for the line display on ScatterChart after upgrading from 6.3v to 11.1v
posted

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!

Parents
No Data
Reply Children
No Data