All charts can display legend. AnyLogic
control over legend appearance, namely you can change the legend
position relative to the chart, adjust the size of the area alloted for
the legend and choose any color you like as the legend text color.
alter the chart legend appearance
- Select the chart in the graphical editor or in the Projects view.
- Open the Legend
section of the chart's Properties.
- Select the Show legend checkbox.
- Using the Position
group of buttons, specify the allocation of the legend relative to the
- Define the legend area size using the control below (Height in case you
allocate legend from above or below the chart, or Width 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 Text
and choose the color. If you choose No Fill, the legend
text will be not painted.