Class OHLCChart01
java.lang.Object
org.knowm.xchart.demo.charts.ohlc.OHLCChart01
- All Implemented Interfaces:
ExampleChart<OHLCChart>
Demonstrates the following:
- Tooltips
- LegendPosition.OutsideS *
- default OHLCSeriesRenderStyle.Candle
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetChart()static voidstatic voidpopulateData(Date startDate, double startPrice, int count, List<Date> xData, List<Double> openData, List<Double> highData, List<Double> lowData, List<Double> closeData) static voidpopulateData(List<Date> xData, List<Double> openData, List<Double> highData, List<Double> lowData, List<Double> closeData)
-
Constructor Details
-
OHLCChart01
public OHLCChart01()
-
-
Method Details
-
main
-
populateData
-
populateData
-
getChart
- Specified by:
getChartin interfaceExampleChart<OHLCChart>
-
getExampleChartName
- Specified by:
getExampleChartNamein interfaceExampleChart<OHLCChart>
-