Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Tools for Microsoft .Net
 Real-Time Graphics Tools for .Net (VB and C#)
 Placing Meter independent of ChartView

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
logan54 Posted - 16 May 2013 : 13:17:54
Hello,
I am evaluating QC RT Chart for WPF, therefor i test the BarApplication1 c# example.

For my Application I want to use a Bar, but the corresponding RTNumericPanelMeter for this Graph should be put to another grid than the ChartView. Is It possible to place a RTNumericPanelMeter object independent of the Graph area?

sincerely
Logan
5   L A T E S T    R E P L I E S    (Newest First)
quinncurtis Posted - 20 May 2013 : 15:13:14
Thanks for the feedback. The QCRTGraphWPFCompiledHelpFile (and QCChart2DWPFCompiledHelpFile) is part or the Developer package, not the trial version.
logan54 Posted - 20 May 2013 : 14:46:19
Hello,

thank you for you corrction, using correct CartesianCoordinates and adding
rtpnl.PanelMeterPosition = ChartObj.PLOTAREA_CENTER;
instruction
i could center the PanelMeter in the ChartView, so the PanelMeter is positioned correctly for me.

Impressions so far:
It took me about 30h to get an overview of the whole software packet. The difference between 2D Grapher und RT Grapher was a little bit confusing to me. I thought RT Grapher for scrolling functionality is mandatory, but obviously not if I do not drop realtime Data on the X-Axis. Also the ChartObj Enum looks "unstructured" to me, especially because I couldn't find the QCRTGraphWPFCompiledHelpFile.chm File somewhere which is referenced several timse from the user Manuals.
Anyhow, your toolbox is suited well for industrial application and is a good replacement for my old WinForms toolbox (DynaPlot)

regards,
Logan
quinncurtis Posted - 20 May 2013 : 12:48:14
I'm not exactly sure what you mean by using all of the available space. But your code does seem to have a significant error. The SetGraphBorderDiagonal (SetGraphBorderDiagonal (0.0, 0, 65, 1)) method takes values in Normalized Graph Coordinates, which means the values should be in the range 0.0 to 1.0. You seem to be using the scaled physical coordinates, though I have no idea where the last value of 1 comes from. So I would think you might want:


CartesianCoordinates lbltrans = new CartesianCoordinates(0.0, 0.0, 70, 60);
lbltrans.SetGraphBorderDiagonal(0.0, 0, 1.0, 1.0);


If you want the numeric readout value bigger, make the font bigger.
logan54 Posted - 20 May 2013 : 12:33:05
Hello, I've managed to place a bar graph and a RTNumericPanelMeter on different ChartView objects and keep using one data source.

How can I manage to use all the available space of the container (grid) for the RTNumericPanelMeter.
I'am using the following Code:

CartesianCoordinates lbltrans = new CartesianCoordinates(0.0, 0.0, 70, 60);
lbltrans.SetGraphBorderDiagonal(0.0, 0, 65, 1);
RTNumericPanelMeter rtpnl = new RTNumericPanelMeter(lbltrans, EngineRPM1, new ChartAttribute(Colors.Firebrick, 5.0, DashStyles.Solid, Colors.rtpnl.NumericTemplate.TextFont = new ChartFont("Microsoft Sans Serif", 16, FontStyles.Normal);
rtpnl.NumericTemplate.PostfixString = "[%]";
chart.AddChartObject(rtpnl);


regards,
Logan
quinncurtis Posted - 16 May 2013 : 14:01:25
It is not clear from your question if you want to place both objects (the bargraph, and the RTNumericPanelMeter) in the same window, just at independent locations, or in two different windows, completely independent of one another.

Any of our charting routines must be place in one of our ChartView containers. But you can have multiple ChartView objects in a single program. So you use one to display the bargraph, and another to display a RTNumericPanelMeter.

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