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. Customizing legends in chart
Forum Updated to NodeBB v4.3 + New Features

Customizing legends in chart

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 227 Views 1 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.
  • J Offline
    J Offline
    Jika
    wrote on last edited by
    #1

    Hello!
    I am quite frustrated in an attempt to customized my legend on the bar chart! :)
    I have the stacked bar chart, for a few of bar set I do not want to show their legends but I just can hide (transparent) the label of the legends (i.e. the text) as such the label shape still stays in the legend box. Is there a way to get rid of unwanted legends!?
    thx a lot!

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      You are using QtCharts right? According to documentation it should be enough to set legend.visible: false: docs

      (Z(:^

      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