How to remove symbol markers from only selected series in JavaFx Charts?
<p>I am using 4 different series in JavaFx charts. Three series are static and display various alert levels of the actual data such as Green, Yellow and Red.</p>

<p>I wish to display symbols as tooltips but only on actual data line(blue one) and wish to remove them from my static alert level lines(red, yellow and green) for an appealing look.</p>

<p>I tried using JavaFx Css but it didnt go accordingly.
Below is my code :</p>

<pre><code>.default-color0.chart-series-line { 
    -fx-stroke: #00cc33;
    -fx-stroke-type: centered;        
    -fx-symbol-visible: false;
}

.default-color1.chart-series-line {

    -fx-stroke: #ffff00;
    -fx-stroke-type: centered;
    -fx-symbol-visible: false;
 }

.default-color2.chart-series-line { 
    -fx-stroke: #cc0000;
    -fx-stroke-type: centered;
    -fx-symbol-visible: false;
 }

.default-color3.chart-series-line{
    -fx-stroke-width: 1px;
    -fx-symbol-visible: true; 
 }
</code></pre>

<p>Below is the pictorial representation of the same :</p>

<p><a href="https://i.stack.imgur.com/2ynUd.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2ynUd.png" alt="enter image description here"></a></p>

<p>I dont know where I went wrong</p>