Search code examples
javajavafxchartslinechartstroke

How to remove or resize javafx linechart series stroke dots


i want to remove the dots of my javafx linechart series stroke. Actually it looks like this: my-chart

how can i remove or resize the red marked dots?


Solution

  • You can hide that dots using CSS:

    .default-color0.chart-line-symbol { 
        -fx-background-radius: 0.0px;
        -fx-padding: 0.0px;
    }