In this tutorial, we will discuss how you would go about creating new chart types for the RiverSoftAVG Charting Component Suite. To make a new chart type, there are 5 basic steps:
•Descend from a TRSCustomChart class
•Descend from TRSChartValue and TRSChartValues classes (optional)
•Customize your TRSChartValue and TRSChartValues descendants (optional)
•Customize your TRSCustomChart descendant (optional)
•Override the InternalDraw of your TRSCustomChart class to draw your new chart type
In this tutorial, we will explain how to create a new chart type by building a graph, or network, chart. A Graph Chart looks like a flowchart or organizational type component where there are boxes (or other shapes) connected by lines describing relationships. In the tutorial, we will show the code we are creating. The final code for the graph chart can be found in the RSGraphCharts unit.