All charts can display legend. AnyLogic provides full control over legend appearance, namely you can change the legend position relative to the chart, adjust the size of the area allotted for the legend and choose any color you like as the legend
To alter the chart legend appearance
- Select the chart in the graphical editor or in the
- Open the
section of the chart's
- Select the
- Using the
group of buttons, specify the allocation of the legend relative to the chart.
- Define the legend area size using the control below (Height
in case you allocate legend from above or below the chart, or
in case you allocate it to the left or to the right).
- Optionally, you can change the legend text color. Click the arrow in the
control and choose the color. If you choose
No Fill, the legend text will be not painted.