
+1
Under review
column chart limit line
I'm trying to figure out how to create a frequency spectrum chart. I've got the column series bit down but I need to have a limit line in each column (like the image here: http://www.pas-products.com/bilder/24-Octave-Spectrum-Analyzer.gif).
I've tried using stacked column series but I cannot style the column so that I only see the top line. I've also tried StepSeries but they seem to start in the middle of the column instead of the left hand side.
Any ideas?
I've tried using stacked column series but I cannot style the column so that I only see the top line. I've also tried StepSeries but they seem to start in the middle of the column instead of the left hand side.
Any ideas?
Customer support service by UserEcho
I have 4 stacked ColumnSeries:
1 for the value.
1 for the gap between the value and the limit (with fill set to transparent).
1 for the limit (the value is always 1 to produce a line).
1 for the overflow
Then I just do a bit of logic like follows:
for(int i=0; i<data.Length; i++){
if(data[i].Value > data[i].Limit){
//set each column value accordingly
}else{
//set each column value accordingly
}
}