Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8115669

LineChart snapshot render incorrectly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • None
    • 7u6
    • javafx
    • None
    • 2.2.0-beta-b12, 1.7.0_06-ea

      If I take a snapshot of a LineChart, the chart is shown, but the axis tickmark labels are not.

      Attached is a sample test case (LineChartExport.java), which captures a snapshot image then renders it - the rendered image should include axis tickmarks on the LineChart, but it does not. Sample output of the test case is also attached (missingslices.PNG) - the chart with a blue background is rendered from an snapshot, the chart from with a white background is rendered normally in the scene - the two charts should be identical, but are not.

      This issue is similar to "PieChart snapshot renders incorrectly" which had a workaround of adding the PieChart to a Scene before creating a snapshot. However in this case, the add to Scene workaround does not work.

            kcr Kevin Rushforth
            josmithjfx John Smith (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: