Area plot using series
Source code name: "xchart_area.java"
Programming language: Java
Topic: Plots/2D
DMelt Version 3. Last modified: 04/05/1977. License: Free
https://datamelt.org/code/cache/xchart_area_981.java
To run this script using the DMelt IDE, copy the above URL link to the menu [File]→[Read script from URL] of the DMelt IDE.


import org.knowm.xchart.SwingWrapper;
import org.knowm.xchart.XYChart;
import org.knowm.xchart.XYChartBuilder;
import org.knowm.xchart.XYSeries.XYSeriesRenderStyle;
import org.knowm.xchart.style.Styler.LegendPosition;
import org.knowm.xchart.VectorGraphicsEncoder;
import org.knowm.xchart.VectorGraphicsEncoder.VectorGraphicsFormat;

/**
 * Area Chart with 3 series
 *
 * 

Demonstrates the following: * *