Summary: | Legend will not display anything until legend is full if line chart is filled from end | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-kquickcharts | Reporter: | David Redondo <kde> |
Component: | general | Assignee: | Arjen Hiemstra <ahiemstra> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alex, bugseforuns, kdelibs-bugs, nicolamori |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/frameworks/kquickcharts/commit/87a80981be218236928e4c7c3bde7e8fe8f41f89 | Version Fixed In: |
Description
David Redondo
2021-02-02 16:39:55 UTC
Git commit 87a80981be218236928e4c7c3bde7e8fe8f41f89 by Arjen Hiemstra. Committed on 03/02/2021 at 15:16. Pushed by ahiemstra into branch 'master'. Add a "first" method to ChartDataSource and use it in Legend This allows us to get the first valid item from a source. This is helpful when a source treats its items differently and a request for item 0 ends up not being a valid item, such as a HistoryProxySource with FillFromEnd fillMode. M +7 -0 src/datasource/ChartDataSource.cpp M +2 -0 src/datasource/ChartDataSource.h M +8 -0 src/datasource/HistoryProxySource.cpp M +2 -0 src/datasource/HistoryProxySource.h M +1 -1 src/decorations/LegendModel.cpp https://invent.kde.org/frameworks/kquickcharts/commit/87a80981be218236928e4c7c3bde7e8fe8f41f89 |