Package org.wicketstuff.flot

Examples of org.wicketstuff.flot.DataSet


  public List<Series> getData() {
    List<Series> result = new ArrayList<Series>();

    List<DataSet> sine = new ArrayList<DataSet>();
    for (double x = -5.0; x < 5.0; x += 0.1)
      sine.add(new DataSet(x, Math.sin(x)));

    result.add(new Series(sine, "sin(x)", new Color(0x00, 0x89, 0xBB), new LineGraphType(null, false, null)));

    return result;
  }
View Full Code Here


  {
    List<Series> result = new ArrayList<Series>();

    List<DataSet> sine = new ArrayList<DataSet>();
    for (double x = -5.0; x < 5.0; x += 0.1)
      sine.add(new DataSet(x, Math.sin(x)));

    result.add(new Series(sine, "sin(x)", new Color(0x00, 0x89, 0xBB), new LineGraphType(null,
      false, null)));

    return result;
View Full Code Here

TOP

Related Classes of org.wicketstuff.flot.DataSet

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.