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:-
201.970627
202.972336
203.972
204.972
205.974457
206.975876
207.976639
235.043915
238.050781
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.
- andyste1 asked 10 years ago
- You must login to post comments
Hi Andy,
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!
Best regards,
Yuriy
- Yuriy Zadereckiy answered 10 years ago
- You must login to post comments
Please login first to submit.