SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components
I’m trying to plot a vertical bar (column) chart where each bar represents a chemical element. Rather than the bars being “side by side”, using (say) an incrementing X value (1,2,3…), I was hoping I could use the chemical elements’ masses, resulting in a chart where the bars are “spread out” along the X-axis in a non-uniform way.
Here are some example X-values from a series I’m trying to plot – while the first few are fairly uniform, note the large gap before the last two:-
If I try and render these using a FastColumnRenderableSeries, it starts off okay but goes a bit crazy with the last couple of bars! As I understand it, this series type doesn’t support gaps in the data, so I’m assuming this is to blame for the corrupt display.
Can you suggest any alternative approaches to what I’m trying to achieve? I’ve tried the FastImpulseRenderableSeries, which gives results very close to what I’m looking for. Unfortunately the inability to make the impulse lines wider is a showstopper for the client.
Please, try setting UniformWidth to “True”, it configures the series to draw columns using the width of the thinnest column. Also, please, take a look at this post, you might find there some useful info.
Please, let us know if it helps!
Please login first to submit.