Skip to content

Commit fbdfb60

Browse files
committed
Add unserscore to label
1 parent 9041403 commit fbdfb60

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

BExIS.Pmm.Model/Plotchart.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -523,23 +523,23 @@ private SharpMap.Map InitializeMap(Size outputsize, Plot plot, int zoom = 1, boo
523523
if(geometry.GeometryType.Equals("rectangle"))
524524
{
525525
string[] xy = geometry.Coordinate.Split(',');
526-
newRow["Label"] = xy[2] + "," + xy[3];
526+
newRow["Label"] = xy[2] + "," + xy[3] + " _";
527527
}
528528

529529
if (geometry.GeometryType.Equals("polygon"))
530530
{
531531
string[] tmpXY = geometry.Coordinate.Split(new[] { "),(" }, StringSplitOptions.None);
532532
string[] x = tmpXY[0].Split(',');
533533
string[] y = tmpXY[1].Split(',');
534-
newRow["Label"] = x[2] + "," + y[2];
534+
newRow["Label"] = x[2] + "," + y[2] + " _";
535535
}
536536
if (geometry.GeometryType.Equals("linestring"))
537537
{
538538
string[] tmpXY = geometry.Coordinate.Split(new[] { "),(" }, StringSplitOptions.None);
539539
string[] x = tmpXY[0].Split(',');
540540
string[] y = tmpXY[1].Split(',');
541541

542-
newRow["Label"] = x[0].Substring(1) + "," + y[0];
542+
newRow["Label"] = x[0].Substring(1) + "," + y[0] + " _";
543543
}
544544

545545
if (geometry.GeometryType.Equals("circle"))

0 commit comments

Comments
 (0)