I am working backwards from the examples in the demo.
- Code: Select all
IWCGJQPlot1.JQPlotData:= '[[200],[600],[700]]';
IWCGJQPlot1.JQPlotOptions.SeriesDefaults.Renderer:= jqprBarRenderer;
IWCGJQPlot1.JQPlotOptions.SeriesDefaults.BarRendererOptions.FillToZero:= True;
IWCGJQPlot1.JQPlotOptions.SeriesDefaults.PointLabels.Show:= True;
IWCGJQPlot1.JQPlotOptions.Legend.Show:= false;
Axis:= IWCGJQPlot1.JQPlotOptions.Axes.Add;
Axis.Options.AxesRender:= jqparCategoryAxisRenderer;
Axis:= IWCGJQPlot1.JQPlotOptions.Axes.Add;
Axis.AxisType:= jqpoxyYAxis;
Axis.Options.Pad:= 1.05;
Axis.Options.TickAxisOptions.FormatString:= '%d';