Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Tools for Java
 QCChart3D for Java
 Polar chart?

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

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

* Forum Code is ON
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
OLI Posted - 10 Aug 2011 : 08:56:34
Does it exist? Do you have any examples? Olov
4   L A T E S T    R E P L I E S    (Newest First)
OLI Posted - 12 Aug 2011 : 02:47:28
Thx for your help most valued. I dont think 3d polar plot would be that a killer application differentiator so we will likely use both 2d and 3d libs when we need both graph types at the same time. Olov
quinncurtis Posted - 11 Aug 2011 : 10:52:59
If a polar plot in the QCChart3D software is critical to your application, you can contract us to add it. We haven't seen any other demand for adding it, other than yours.

To keep the polar plot circular, you would have to enforce a fixed aspect ratio in the parent frame. One way to do that is to make the JFrame a ComponentListener, and implement the componentResized method. There you would have to force a fixed aspect ratio.

public class Frame1 extends JFrame implements ComponentListener {
static final long serialVersionUID = -4781426903514538167L;

//Construct the frame
public Frame1() {
try {
catch(Exception e) {

//Component initialization
private void initFrame() throws Exception {
contentPane = (JPanel) this.getContentPane();
this.setSize(new Dimension(1000, 800));
JPanel mainPanel = new MainPanel();
contentPane.add(mainPanel, BorderLayout.CENTER);


//Overridden so we can exit when window is closed
protected void processWindowEvent(WindowEvent e) {
if (e.getID() == WindowEvent.WINDOW_CLOSING) {

public void componentResized(ComponentEvent e) {
setSize(getWidth(), (int) (getWidth() * 0.8));

// Needed for the implementation of the ComponentListener interface.
public void componentMoved(ComponentEvent e) {
public void componentHidden(ComponentEvent e) {
public void componentShown(ComponentEvent e) {

You can get rid of the axis tick using this code.
pPolarAxis.getPolarXAxis().setAxisTicksAttributes(0, 0, 0);
OLI Posted - 11 Aug 2011 : 09:41:27
Well in the application of machine vibration and vibration vector plot it could be nice to be able to plot several sensor results similar to waterfall in FFT plots but polar either relative speed, time or position on the machine. I havent seen it done that way before, so that would be nice if you need something to think about for addition. In reality our application need to plot both 3d and polar in different cases so we just wanted to be able to send just one lib and not both. By the way we looked at the 2d Polar, any idea how to keep it circular when changing window size and how to disable axis ticks? Thanks for the input. Olov
quinncurtis Posted - 10 Aug 2011 : 11:02:53
Polar charts are not normally displayed in 3D, and we didn't add them to the QCChart3D software. You will find them in the QCChart2D software. There are examples there.

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