Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Tools for Microsoft .Net
 SPC Control Chart Tools for .Net
 How to rotate chart?

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
sakamali Posted - 31 Dec 2014 : 04:02:13
Hi,
We want to use Frequency Histogram Chart. But, it must be some changing. How to rotate this chart like as below sample image?
Thanks.

1   L A T E S T    R E P L I E S    (Newest First)
quinncurtis Posted - 31 Dec 2014 : 10:04:47
Set the ChartOrientation property to ChartObj.HORIZ_DIR before the call to InitFrequencyHistogram

void InitializeChart()
{

// Frequency bins
double [] freqLimits = {19.5, 24.5, 29.5, 34.5, 39.5, 44.5, 49.5, 54.5, 59.5};
// data to be sorted into frequency bins
double [] freqValues = {32,44,44,42,57,
26,51,23,33,27,
42,46,43,45,44,
53,37,25,38,44,
36,40,36,48,56,
47,40,58,45,38,
32,39,43,31,45,
41,37,31,39,33,
20,50,33,50,51,
28,51,40,52,43};

this.ChartOrientation = ChartObj.HORIZ_DIR;

// Initialize histogram
this.InitFrequencyHistogram(freqLimits, freqValues);
// Set bar orientation
this.MainTitle.TextString = "Frequency Histogram of Selected Data";
// Build chart

this.BarFillColor = Color.LightCoral;
this.FrequencyHistogramPlot.SetSegmentFillColor(4,Color.Blue);
this.AddFrequencyHistogramControlLine(20.0, new ChartAttribute(Color.LightGreen, 2));
this.AddFrequencyHistogramControlLine(60.0, new ChartAttribute(Color.LightGreen, 2));
this.AutoNormalCurve = true;
this.BuildChart();

}


Quinn-Curtis Forums © 2000-2018 Quinn-Curtis, Inc. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07