Legend

  • v
  • v
  • v

24680123456789Series Name 1Long Series Name 1Very Long Series Name 1Very Long Series Name 2Long Series Name 2Series Name 2Series Name 3Long Series Name 3Very Long Series Name 3Very Long Series Name 4Long Series Name 4Series Name 4
Legend Settings
v
v
v
v
v

This demo illustrates how you can customize a legend in XtraCharts.

Try to specify different values for a legend's maximum height and width (in percents respective to a chart's size) and see how they are in effect in arranging legend items.

In addition, in this demo you're able to specify a legend's alignment, direction, and how legend items are spaced in case they're arranged into several columns.

Collapse/Expand
Local Copy of this Demo
To inspect the source code for this demo on your machine, you must first install our components via the DevExpress Component Installer.
You can open a local copy of this online demo directly from this webpage (if using v20.2.8, 21.1.4 or higher).
Open CS Solution
Open VB Solution
The source code files for this demo are installed (by default) in the following directories:
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\XtraChartsDemos
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\VB\XtraChartsDemos