Help w/Java Chart

Discussion in 'Trading Software' started by tamvik, May 24, 2003.

  1. tamvik


    Can somebody help with first step to draw chart
    with Java.
    I studied IB's TestJavaClient Demo and was able to
    condense the code just to extract ES (e-mini)
    market data to a JList.
    The question is: how can I extract ES (e-mini)
    "LAST PRICE" and put a dot on the JFrame, JPanel
    or whatever it needs.
    I don't want to burden anyone with full charting code.
    Just the initial extraction of "Last Price" will be much appreciated.
    Thanks in advance
  2. tamvik



    Thanks for your reply and the links.

    I am new to Java trying to learn. (2-3 month so far)
    I looked at JFreeCharts web page, the way I see it I need to
    integrate JFreeCharts with Java somehow, as is I have full hands
    just trying to understand Java.
    The other link, he is using xml.
    You suggested "just read the column" thats my problem I do not
    know how to read the column and create a chart from it.

    If somebody could just show me how to take "LAStT PRICE" data
    and put it on the frame in form of a dot, I will try to figure out
    thd rest.

    Thanks tamvik
  3. tamvik



    Thanks for the link I will check it out.

  4. fleance


    JFreeChart is the most popular open source java charting package. Check out the forums on the website. It is very active.
    I would try them first, because there are many more examples and community.