Unsolved Strategy for displaying big histograms (1024 bins) in QtChart
-
I downloaded some data from a university website for atomic spectra. The data files have 1024 different values (bins) which are supposed to be shown in a histogram. The different values represent number of detections at the 1024 different power levels coming from a photo detector. When displayed in a bar chart, it shows identifiable atomic gamma spectra for the different isotopes.
I am currently using a bar chart with 1024 bars, but it doesn't show up so well. It creates some sort of moire pattern.
Any ideas how to create a good looking spectrum histogram?
Here's an example of such a spectrum:
-
What type of chart did you use? I would try a QLineSeries.
-
Thanks, I will give that a try.