final public void updateUITitle() {
        if ( mysar.getDataView() != null) {

            String asFormattedDateTimeStart = null;
            String asFormattedDateTimeEnd = null;

            try{

                //Locale test = new Locale(System.getProperty("user.language"), System.getProperty("user.country"));
                DateTimeFormatter formatter = DateTimeFormatter.ofLocalizedDateTime(FormatStyle.SHORT); //.withLocale(test);

                if (startofgraph != null) {
                    asFormattedDateTimeStart = startofgraph.format(formatter);
                }
                if (endofgraph != null)
                {
                    //asFormattedDateTimeEnd = endofgraph.format(DateTimeFormatter.ISO_DATE_TIME);
                    asFormattedDateTimeEnd = endofgraph.format(formatter);
                }

            } catch (DateTimeException ex) {
                System.out.println("unable to format time");
            }

            if (asFormattedDateTimeStart != null && asFormattedDateTimeEnd != null ) {
                mysar.getDataView().setTitle(String.format("%s from %s to %s", Hostname, asFormattedDateTimeStart, asFormattedDateTimeEnd));
            }
        }
    }