Tomas,
Please do not post in the forum and email the developer's list.  I have copied David's reply in the forum thread you created, and we should continue this discussion there.  Using the developer's list in this manner is unfair to other users of JFreeChart since it allows you to gain undue attention and deprives them of the information we provide.  This list should, primarily, be used by the developers and certainly not for forum threads.
--Richard

http://www.jfree.org/phpBB2/viewtopic.php?t=24864&start=0&postdays=0&postorder=asc&highlight=


-----Original Message-----
From: jfreechart-developers-bounces@lists.sourceforge.net on behalf of Dave Gilbert
Sent: Tue 6/10/2008 7:00 AM
To: Thomas Schulz
Cc: jfreechart-developers@lists.sourceforge.net
Subject: Re: [jfreechart-dev] Missing gridline when hiding first data set

The renderer at index 0 is used to draw the gridlines, so if you set it
to null, there won't be anything drawn.  It is a kind of bug though, so
I'll see if I can fix it.

Regards,

Dave

Thomas Schulz wrote:
> Hello,
>
> I'm working with version 1.0.9 and created a XYPlot with multiple data
> sets. In sum there are 48 data sets with different renderers or
> annotations in the plot.
> Near the ChartPanel I placed a JPanel with a JCheckBox for data set. Now
> the visibility of each data set can be selected or deselected using
> XYPlot.setDataSet(index, DataSet) and XYPlot.setRenderer(index,
> Renderer).
> Everything works fine. But when I hide the first data set the grid lines
> are gone. XYPlot.isRangeGridlinesVisible and
> XYPlot.isDomainGridlinesVisible tell that the gridlines  are visible.
> Any suggestions?
>
> Best regards
>
> Thomas Schulz
>
> Attachment(s): none
>
> Thomas Schulz
> Senior Software Developer
>
> M&M Software GmbH
> Industriestr. 5
> 78112 St. Georgen
> GERMANY
>
> Phone +49 (0) 77 24 94 15-43
> Fax +49 (0) 77 24 94 15-23
> mailto:tsz@mm-software.com
> http://www.mm-software.com
>
> ------------------------------
> M&M Software GmbH,
> Registered Office: St.Georgen, Germany
> Registry Court: Freiburg HRB 602021
> Directors: Erwin Mueller, Klaus Huebschle, Andreas Boerngen
> ------------------------------
>
> This email is intended solely for the use of the named address(es). Any
> unauthorised disclosure, copying or distribution of these confidential
> information contained therein, or the taking of any action based on it,
> is prohibited.
>
>
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> jfreechart-developers mailing list
> jfreechart-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jfreechart-developers
>
>
>  


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
jfreechart-developers mailing list
jfreechart-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jfreechart-developers