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. Custom QMarkerShapes for Scatter Series
Qt 6.11 is out! See what's new in the release blog

Custom QMarkerShapes for Scatter Series

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 536 Views
  • 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    Hello all,

    Currently, I am working with QScatterSeries class and was trying to make it to where different plots on my graphs display different shapes. I tried to use multiple QMarkerShapes as shown in this documentation, but so far I am only able to use MarkerShapeCircle and MarkerShapeRectangle without getting any compile issues.

    With that being said I have two questions:
    1. Is there a way to fix my code (or import another library) so that the other options from the MarkerShape enum structure work? Right now, I have imported Qt Charts by adding QT += core gui charts to my project file and #include <QtCharts/QScatterSeries> to my class.
    2. Is there a way to create and implement a custom marker shape for the QScatterSeries class?

    Thank you, in advance, for your time and consideratoin!

    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