<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[QtCharts future]]></title><description><![CDATA[<p dir="auto">I'm getting the impression that QtCharts is being deprecated.   Is there an easy migration path for Widget based C++ applications to some replacement (would that be QtGraphs ?).</p>
<p dir="auto">I'll certainly not be a happy bunny if I have to rewrite my C++ code as javascript (which I don't use and don't want to use).</p>
<p dir="auto">Thanks, David</p>
]]></description><link>https://forum.qt.io/topic/165290/qtcharts-future</link><generator>RSS for Node</generator><lastBuildDate>Mon, 23 Nov 2026 10:20:49 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/165290.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 22 Nov 2026 09:16:27 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to QtCharts future on Mon, 23 Nov 2026 09:52:25 GMT]]></title><description><![CDATA[<p dir="auto">maybe you need, each chart for 1 chartview ?</p>
]]></description><link>https://forum.qt.io/post/841019</link><guid isPermaLink="true">https://forum.qt.io/post/841019</guid><dc:creator><![CDATA[Joe von Habsburg]]></dc:creator><pubDate>Mon, 23 Nov 2026 09:52:25 GMT</pubDate></item><item><title><![CDATA[Reply to QtCharts future on Mon, 23 Nov 2026 09:39:55 GMT]]></title><description><![CDATA[<p dir="auto">Ok, sort of, I currently have a single QChartView and multiple QChart objects.  When I want to show one, I simply call chartView-&gt;setChart(QChart*);  and the GraphsView doesn't seem to allow selecting which Graph to display.</p>
<p dir="auto">I don't seem to find an analogue in QGraphs for a QChart object with methods like e.g. createDefaultAxes().  Nor does there seem to be axis related classes and methods  e.g.:</p>
<pre><code>		xAxis = axisX(qualityChart);
		xAxis-&gt;setRange(1.0, rangeMax);
		xAxis-&gt;setTickAnchor(1.0);
		xAxis-&gt;setTickInterval(interval);

		yAxis = axisY(qualityChart);
		if (fQuality &gt; yAxis-&gt;max())
			yAxis-&gt;setMax(fQuality &gt; 0 ? fQuality * 1.1 : fQuality * 0.9);
		if (fQuality &lt; yAxis-&gt;min())
			yAxis-&gt;setMin(fQuality &gt; 0 ? fQuality * 0.9 : fQuality * 1.1);
</code></pre>
<p dir="auto">David</p>
]]></description><link>https://forum.qt.io/post/841018</link><guid isPermaLink="true">https://forum.qt.io/post/841018</guid><dc:creator><![CDATA[Perdrix]]></dc:creator><pubDate>Mon, 23 Nov 2026 09:39:55 GMT</pubDate></item><item><title><![CDATA[Reply to QtCharts future on Mon, 23 Nov 2026 06:12:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/perdrix">@<bdi>Perdrix</bdi></a> hi, you can use qwt, also if you use qtquick, look at that  :  <a href="https://forum.qt.io/topic/165239/gpu-accelerated-plotting-lib-qaccelplot/2">https://forum.qt.io/topic/165239/gpu-accelerated-plotting-lib-qaccelplot/2</a></p>
]]></description><link>https://forum.qt.io/post/841012</link><guid isPermaLink="true">https://forum.qt.io/post/841012</guid><dc:creator><![CDATA[Joe von Habsburg]]></dc:creator><pubDate>Mon, 23 Nov 2026 06:12:53 GMT</pubDate></item><item><title><![CDATA[Reply to QtCharts future on Mon, 23 Nov 2026 05:47:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/perdrix">@<bdi>Perdrix</bdi></a> said in <a href="/post/841001">QtCharts future</a>:</p>
<blockquote>
<p dir="auto">What I don't get is what I have to do to change this code to use QtGraphs.</p>
</blockquote>
<p dir="auto">As <a class="plugin-mentions-user plugin-mentions-a" href="/user/alexiaa">@<bdi>alexiaa</bdi></a> alluded to, you must replace <code>QChartView</code> with a <code>QQuickWidget</code> that loads a <code>GraphsView</code> instead. The link in my previous post shows exactly how to initialize that QQuickWidget, and shows how to connect your <code>Q*Series</code> classes to the view.</p>
<p dir="auto">P.S. Not related to the port: Both Qt Charts and Graphs are licensed under GPLv3 or Commercial licenses. This means an open-source project that uses either of these modules should also be released under GPLv3.</p>
]]></description><link>https://forum.qt.io/post/841009</link><guid isPermaLink="true">https://forum.qt.io/post/841009</guid><dc:creator><![CDATA[JKSH]]></dc:creator><pubDate>Mon, 23 Nov 2026 05:47:00 GMT</pubDate></item><item><title><![CDATA[Reply to QtCharts future on Sun, 22 Nov 2026 14:00:16 GMT]]></title><description><![CDATA[<p dir="auto">I think I'm being a bit dense here.  Let's take a concrete example of a UI tab that implements multiple line charts.  The source code is in ChartTab.cpp and ChartTab.h.   AFAICT the good news is that a lot of the code in there is to do with manipulation of the many QLineSeries objects.   What I don't get is what I have to do to change this code to use QtGraphs.  I'm not asking you to do that work, but some pointers of what I need to change would be helpful.</p>
<p dir="auto">The files in question can be found here:<br />
<a href="https://github.com/deepskystacker/DSS/tree/master/DeepSkyStackerLive" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/deepskystacker/DSS/tree/master/DeepSkyStackerLive</a></p>
<p dir="auto">Yes I guess I could point Claude Code at the files and say "do it", but then I learn nothing :)</p>
<p dir="auto">Thanks, David</p>
]]></description><link>https://forum.qt.io/post/841001</link><guid isPermaLink="true">https://forum.qt.io/post/841001</guid><dc:creator><![CDATA[Perdrix]]></dc:creator><pubDate>Sun, 22 Nov 2026 14:00:16 GMT</pubDate></item><item><title><![CDATA[Reply to QtCharts future on Sun, 22 Nov 2026 12:02:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/alexiaa">@<bdi>alexiaa</bdi></a> said in <a href="/post/840998">QtCharts future</a>:</p>
<blockquote>
<p dir="auto">a minimal, ~10-line declarative QML wrapper file</p>
</blockquote>
<p dir="auto">You might not even need a QML wrapper file.</p>
<p dir="auto">See the official example at <a href="https://doc.qt.io/qt-6/qtgraphs-2d-quickwidgetgraphs-example.html" target="_blank" rel="noopener noreferrer nofollow ugc">https://doc.qt.io/qt-6/qtgraphs-2d-quickwidgetgraphs-example.html</a></p>
<blockquote>
<p dir="auto">QCustomPlot (just two .h/.cpp files with much better rendering performance)</p>
</blockquote>
<p dir="auto">Do you mean better performance than Qt Charts? Or does it offer better performance than Qt Graphs too?</p>
]]></description><link>https://forum.qt.io/post/841000</link><guid isPermaLink="true">https://forum.qt.io/post/841000</guid><dc:creator><![CDATA[JKSH]]></dc:creator><pubDate>Sun, 22 Nov 2026 12:02:41 GMT</pubDate></item><item><title><![CDATA[Reply to QtCharts future on Sun, 22 Nov 2026 10:52:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/perdrix">@<bdi>Perdrix</bdi></a> said in <a href="/post/840995">QtCharts future</a>:</p>
<blockquote>
<p dir="auto">I'm getting the impression that QtCharts is being deprecated.   Is there an easy migration path for Widget based C++ applications to some replacement (would that be QtGraphs ?).</p>
<p dir="auto">I'll certainly not be a happy bunny if I have to rewrite my C++ code as javascript (which I don't use and don't want to use).</p>
<p dir="auto">Thanks, David</p>
</blockquote>
<p dir="auto">Hi David,</p>
<p dir="auto">Yes, QtCharts was officially deprecated in Qt 6.10 in favor of QtGraphs, but you do not need to rewrite your code in JavaScript.</p>
<p dir="auto">If you migrate to QtGraphs, all your chart data and logic stay in C++—you just embed it into your Widgets UI using QQuickWidget along with a minimal, ~10-line declarative QML wrapper file. However, if you want a 100% pure C++ Widgets setup without touching QML at all, the most practical and lightweight alternative is QCustomPlot (just two .h/.cpp files with much better rendering performance), or you can simply stick with QtCharts since it will remain supported throughout the Qt 6 lifecycle.</p>
]]></description><link>https://forum.qt.io/post/840998</link><guid isPermaLink="true">https://forum.qt.io/post/840998</guid><dc:creator><![CDATA[alexiaa]]></dc:creator><pubDate>Sun, 22 Nov 2026 10:52:24 GMT</pubDate></item></channel></rss>