Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Changing shape of point markers in QLineSeries
Forum Updated to NodeBB v4.3 + New Features

Changing shape of point markers in QLineSeries

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 576 Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • PerdrixP Offline
    PerdrixP Offline
    Perdrix
    wrote on last edited by
    #1

    Is there a way to do this? Or is a circle the only option?

    Gojir4G 1 Reply Last reply
    0
    • PerdrixP Perdrix

      Is there a way to do this? Or is a circle the only option?

      Gojir4G Offline
      Gojir4G Offline
      Gojir4
      wrote on last edited by
      #2

      @Perdrix Take a look at the Light Markers Points Selection Example I think that QXYSeries::setLightMarker is what you are looking for.

      For customizing the original point, you can use QXYseries::setPointConfiguration but it seems it's only about configuring size and color, but not the shape.

      PerdrixP 1 Reply Last reply
      2
      • Gojir4G Gojir4

        @Perdrix Take a look at the Light Markers Points Selection Example I think that QXYSeries::setLightMarker is what you are looking for.

        For customizing the original point, you can use QXYseries::setPointConfiguration but it seems it's only about configuring size and color, but not the shape.

        PerdrixP Offline
        PerdrixP Offline
        Perdrix
        wrote on last edited by Perdrix
        #3

        @Gojir4 Hmm... Unless I have missed something setting a lightmarker applies to all points or to all selected points. Or does the setting stick after the points are deselected? If so that might be almost useable if very clumsy.

        There doesn't seem to be a way to set a different lightmarker (red square, blue circle, orange cross or whatever) on a per point basis. If it could be set using setPointConfiguration(index ...,) that might be helpful. But I can't see to how I might use it otherwise.

        D.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved