Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. Change The Text Of QChart's Legend and It's Width

Change The Text Of QChart's Legend and It's Width

Scheduled Pinned Locked Moved Unsolved Qt for Python
2 Posts 2 Posters 723 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.
  • Q Offline
    Q Offline
    Qt-Bot05
    wrote on last edited by
    #1

    I changed my QPieserie's label to it's value. Because of this the QChart's Legend changed to it's "color's" value.

    Also before I changed the labels to values. They were really long so the Legends text where "Sample Text...". Is there a way I can change the legends width?

    One last unrelated question. I'm using pycharm and when I make a QChart() instance. am warning occurs "Parameter flags unfulfiled" I don't know if this is serious but It just bothers me. Is this a pycharm thing or?

    Anyways thanks in advance!!

    JonBJ 1 Reply Last reply
    0
    • Q Qt-Bot05

      I changed my QPieserie's label to it's value. Because of this the QChart's Legend changed to it's "color's" value.

      Also before I changed the labels to values. They were really long so the Legends text where "Sample Text...". Is there a way I can change the legends width?

      One last unrelated question. I'm using pycharm and when I make a QChart() instance. am warning occurs "Parameter flags unfulfiled" I don't know if this is serious but It just bothers me. Is this a pycharm thing or?

      Anyways thanks in advance!!

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by
      #2

      @Qt-Bot05
      For the PyCharm warning, it does depend on your exact code but chances are this is a spurious warning, which you can ignore. There are several hits from Googling: pycharm Parameter unfulfilled.

      BTW, I forget where but somewhere in PyCharm settings there is a checkbox/selection for "I am using PyQt or PySide2". If you have not already set that, it might perform better on PyQt/PySide2 issues like this.

      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