Class NotANumberSample


  • public class NotANumberSample
    extends javafx.application.Application
    Test/demo that explicitly allows to draw NaN values in DataSets as well as custom dash-based line-styling

    Note: this works fine for >JDK11/JFX11 but consistently crashes the JDK8/JavaFX framework outside this library whenever e.g performing a zoom, panning or other similar operation (ie. one of the reasons for the NaN workaround in earlier chart-fx versions).

    Author:
    rstein
    • Nested Class Summary

      • Nested classes/interfaces inherited from class javafx.application.Application

        javafx.application.Application.Parameters
    • Field Summary

      • Fields inherited from class javafx.application.Application

        STYLESHEET_CASPIAN, STYLESHEET_MODENA
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)  
      void start​(javafx.stage.Stage primaryStage)  
      • Methods inherited from class javafx.application.Application

        getHostServices, getParameters, getUserAgentStylesheet, init, launch, launch, notifyPreloader, setUserAgentStylesheet, stop
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NotANumberSample

        public NotANumberSample()
    • Method Detail

      • start

        public void start​(javafx.stage.Stage primaryStage)
        Specified by:
        start in class javafx.application.Application
      • main

        public static void main​(java.lang.String[] args)
        Parameters:
        args - the command line arguments