Package nl.topicus.wqplot.data

Examples of nl.topicus.wqplot.data.BlockSeriesEntryLabel


      new ArrayList<BlockSeries<Double, Double, String, Object>>();
    BlockSeries<Double, Double, String, Object> s1 =
      new BlockSeries<Double, Double, String, Object>();
    s1.addEntry(0.9, 120d, "Vernors", null);
    s1.addEntry(1.8, 140d, "Fanta", null);
    s1.addEntry(3.2, 90d, "Barqs", new BlockSeriesEntryLabel("#ddbb33"));
    s1.addEntry(4.1, 140d, "Arizon Iced Tea", null);
    s1.addEntry(4.5, 91d, "Red Bull", null);
    s1.addEntry(6.8, 17d, "Go Girl", null);
    lines.add(s1);

    BlockSeries<Double, Double, String, Object> s2 =
      new BlockSeries<Double, Double, String, Object>();
    s2.addEntry(1.3, 44d, "Pepsi", null);
    s2.addEntry(2.1, 170d, "Sierra Mist", null);
    s2.addEntry(2.6, 66d, "Mountain Dew", null);
    s2.addEntry(4d, 52d, "Sobe", null);
    s2.addEntry(5.4, 16d, "Amp", null);
    s2.addEntry(6d, 48d, "Aquafina", null);
    lines.add(s2);

    BlockSeries<Double, Double, String, Object> s3 =
      new BlockSeries<Double, Double, String, Object>();
    s3.addEntry(1d, 59d, "Coca-Cola", new BlockSeriesEntryLabel("rgb(250, 160, 160)"));
    s3.addEntry(2d, 50d, "Ambasa", null);
    s3.addEntry(3d, 90d, "Mello Yello", null);
    s3.addEntry(4d, 90d, "Sprite", null);
    s3.addEntry(5d, 71d, "Squirt", null);
    s3.addEntry(5d, 155d, "Youki", null);
View Full Code Here

TOP

Related Classes of nl.topicus.wqplot.data.BlockSeriesEntryLabel

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.