Profile Picture

Heat Map with added NAxisConstLines - How to bring ConstLines to top

Posted By joern kunze 5 Years Ago

Heat Map with added NAxisConstLines - How to bring ConstLines to top

Author
Message
joern kunze
Problem Posted 5 Years Ago
View Quick Profile
Junior Member

Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)

Group: Forum Members
Last Active: 4 Months Ago
Posts: 86, Visits: 221
Hi Experts,
I have a NHeatMapSeries plot which looks like:
https://www.nevron.com/forum/uploads/images/40623aed-a9b4-49fe-a819-5b90.jpg

I have added NAxisConstLines for the X-Axis in the following way:
   //--- Grid: Add constlines between single fields of HeatMap
    if (true) {
      for (int iX = (centerX * -1); iX < centerX; iX++) {
       NAxisConstLine oBoarderLine = chart.Axis(StandardAxis.PrimaryX).ConstLines.Add();
       oBoarderLine.StrokeStyle.Color = Color.SteelBlue;
       oBoarderLine.StrokeStyle.Width = new NLength(2.0f);
       oBoarderLine.FillStyle = new NColorFillStyle(new NArgbColor(255, Color.SteelBlue));
       oBoarderLine.Value = iX;
      }
    }

How can I bring these Lines to a topmost plot level so that they appear visible over the heatmap ?

Thanks for your help,
best regards,
joern







Similar Topics


Reading This Topic