Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-137718

XYSeries: opacity property has no effect

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.8.3
    • Graphs: 2D
    • None

    Description

      import QtQuick
      import QtGraphs
      
      Window {
          width: 600
          height: 400
          visible: true
      
          GraphsView {
              anchors.fill: parent
      
              LineSeries {
                  width: 10
                  color: "black"
                  XYPoint { x:  0; y:  0 }
                  XYPoint { x: 10; y: 10 }
              }
              LineSeries {
                  width: 10
                  color: "red"
                  opacity: 0.5 // Doesn't work
                  XYPoint { x:  0; y:  3 }
                  XYPoint { x: 10; y:  3 }
              }
              LineSeries {
                  width: 10
                  color: "#77FF0000" // Works
                  XYPoint { x:  0; y:  7 }
                  XYPoint { x: 10; y:  7 }
              }
      
              axisX: ValueAxis { min: 0; max: 10 }
              axisY: ValueAxis { min: 0; max: 10 }
              theme: GraphsTheme {
                  colorScheme: GraphsTheme.ColorScheme.Light
                  gridVisible: false
              }
          }
      }
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            nikokorkala Niko Korkala
            skoh-qt Sze Howe Koh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There is 1 open Gerrit change