From 88b8565c3f8c37ac8ff06526204a80ef5beb001d Mon Sep 17 00:00:00 2001
From: Elena Donegani <elena.donegani@ess.eu>
Date: Wed, 10 Jun 2020 18:20:34 +0200
Subject: [PATCH] Update NDPlotXY.bob

---
 99-Shared/adcore/NDPlotXY.bob | 103 +++++++++++++++++++++++-----------
 1 file changed, 70 insertions(+), 33 deletions(-)

diff --git a/99-Shared/adcore/NDPlotXY.bob b/99-Shared/adcore/NDPlotXY.bob
index e314b7c..5b8fa21 100644
--- a/99-Shared/adcore/NDPlotXY.bob
+++ b/99-Shared/adcore/NDPlotXY.bob
@@ -3,32 +3,64 @@
   <name>NDPlotXY</name>
   <x>1095</x>
   <y>344</y>
-  <width>400</width>
-  <height>300</height>
+  <width>470</width>
+  <height>380</height>
   <background_color>
-    <color red="187" green="187" blue="187">
+    <color red="240" green="240" blue="240">
     </color>
   </background_color>
-  <grid_visible>false</grid_visible>
-  <grid_step_x>5</grid_step_x>
+  <actions>
+  </actions>
+  <widget type="rectangle" version="2.0.0">
+    <name>BGGrey02-background</name>
+    <y>50</y>
+    <width>470</width>
+    <height>330</height>
+    <line_width>2</line_width>
+    <line_color>
+      <color name="GROUP-BORDER" red="150" green="155" blue="151">
+      </color>
+    </line_color>
+    <background_color>
+      <color name="GROUP-BACKGROUND" red="200" green="205" blue="201">
+      </color>
+    </background_color>
+    <corner_height>10</corner_height>
+  </widget>
   <widget type="xyplot" version="2.0.0">
-    <name>cartesian plot #6</name>
-    <y>30</y>
+    <name>XY Graph</name>
+    <x>30</x>
+    <y>70</y>
     <height>270</height>
+    <foreground_color>
+      <color red="0" green="0" blue="0">
+      </color>
+    </foreground_color>
+    <background_color>
+      <color red="240" green="240" blue="240">
+      </color>
+    </background_color>
     <title>$(TITLE)</title>
+    <title_font>
+      <font name="Default Bold" family="Source Sans Pro" style="BOLD" size="16.0">
+      </font>
+    </title_font>
+    <show_toolbar>true</show_toolbar>
+    <actions>
+    </actions>
     <x_axis>
       <title>$(XLABEL)</title>
       <autoscale>true</autoscale>
       <log_scale>false</log_scale>
       <minimum>0.0</minimum>
       <maximum>100.0</maximum>
-      <show_grid>false</show_grid>
+      <show_grid>true</show_grid>
       <title_font>
-        <font name="Default Bold" family="Liberation Sans" style="BOLD" size="14.0">
+        <font name="Default Bold" family="Source Sans Pro" style="BOLD" size="16.0">
         </font>
       </title_font>
       <scale_font>
-        <font name="Default" family="Liberation Sans" style="REGULAR" size="14.0">
+        <font name="Default" family="Source Sans Pro" style="REGULAR" size="16.0">
         </font>
       </scale_font>
       <visible>true</visible>
@@ -40,13 +72,13 @@
         <log_scale>false</log_scale>
         <minimum>0.0</minimum>
         <maximum>100.0</maximum>
-        <show_grid>false</show_grid>
+        <show_grid>true</show_grid>
         <title_font>
-          <font name="Default Bold" family="Liberation Sans" style="BOLD" size="14.0">
+          <font name="Default Bold" family="Source Sans Pro" style="BOLD" size="16.0">
           </font>
         </title_font>
         <scale_font>
-          <font name="Default" family="Liberation Sans" style="REGULAR" size="14.0">
+          <font name="Default" family="Source Sans Pro" style="REGULAR" size="16.0">
           </font>
         </scale_font>
         <visible>true</visible>
@@ -67,38 +99,43 @@
         <line_width>1</line_width>
         <line_style>0</line_style>
         <point_type>0</point_type>
-        <point_size>10</point_size>
+        <point_size>4</point_size>
         <visible>true</visible>
       </trace>
     </traces>
   </widget>
   <widget type="rectangle" version="2.0.0">
-    <name>rectangle #10</name>
-    <width>400</width>
-    <height>26</height>
-    <line_color>
-      <color red="218" green="218" blue="218">
-      </color>
-    </line_color>
-    <background_color>
-      <color red="218" green="218" blue="218">
+    <name>Rectangle</name>
+    <class>TITLE-BAR</class>
+    <x use_class="true">0</x>
+    <y use_class="true">0</y>
+    <width>470</width>
+    <height use_class="true">50</height>
+    <line_width use_class="true">0</line_width>
+    <background_color use_class="true">
+      <color name="PRIMARY-HEADER-BACKGROUND" red="151" green="188" blue="202">
       </color>
     </background_color>
   </widget>
   <widget type="label" version="2.0.0">
-    <name>text #13</name>
+    <name>Label</name>
+    <class>TITLE</class>
     <text>$(P)$(R) $(TITLE)</text>
-    <y>1</y>
-    <width>400</width>
-    <height>25</height>
-    <font>
-      <font family="Liberation Sans" style="REGULAR" size="16.0">
+    <x use_class="true">20</x>
+    <y use_class="true">0</y>
+    <width>450</width>
+    <height use_class="true">50</height>
+    <font use_class="true">
+      <font name="Header 1" family="Source Sans Pro" style="BOLD_ITALIC" size="36.0">
       </font>
     </font>
-    <foreground_color>
-      <color red="10" green="0" blue="184">
+    <foreground_color use_class="true">
+      <color name="HEADER-TEXT" red="0" green="0" blue="0">
       </color>
     </foreground_color>
-    <horizontal_alignment>1</horizontal_alignment>
+    <transparent use_class="true">true</transparent>
+    <horizontal_alignment use_class="true">0</horizontal_alignment>
+    <vertical_alignment use_class="true">1</vertical_alignment>
+    <wrap_words use_class="true">false</wrap_words>
   </widget>
-</display>
+</display>
\ No newline at end of file
-- 
GitLab