Charts

NExS supports interactive charts that automatically update when your data changes. This guide covers chart types, data formatting, and styling options.

Adding a Chart

Charts overlay a rectangular block of cells within your view. You specify where the chart appears (the cell range it covers) and where its data comes from (the source range). The chart automatically renders on top of those cells, so you can position it precisely within your layout.

ABCD
2viewSheet1!A1:G18
3chartA10:E18
4sourceSheet2!A1:D5

This configuration places a chart covering cells A10:E18, pulling its data from Sheet2.

Source Data Format

Your chart data should be organized like this:

ABCD
1Sales by Region [Revenue ($)]
2QuarterNorthSouthWest
3Q1120032006300
4Q2510015008320
5Q3800027009010
  • Row 1: Chart title, optionally followed by Y-axis label in brackets [label]
  • Row 2: X-axis label (can be blank), then category labels
  • Row 3+: Data point label, then values for each category

Example Output

This data produces a chart showing:

  • Title: “Sales by Region”
  • Y-axis label: “Revenue ($)”
  • X-axis: Q1, Q2, Q3
  • Three data series: North, South, West

Bar Chart Example

Chart Types

Specify the chart type with the type option:

ABCD
3chartA10:E18
4sourceSheet2!A1:D5
5typebar

Available types:

TypeDescription
columnVertical bars (default)
barHorizontal bars
lineLine chart with markers
areaFilled area below line
pieCircular pie chart
stacked columnStacked vertical bars
stacked barStacked horizontal bars
stacked lineStacked line chart
stacked areaStacked filled areas
legendLegend only (for linking)

Pie Charts

Pie charts use a simpler data format since they show parts of a whole rather than multiple series over time. Each row after the title becomes a slice, with the first column providing the label and the second providing the value.

AB
1Market Share
2
3Product A45
4Product B30
5Product C25

Pie Chart Example

Chart Options

Sorting

Automatically sort the X-axis:

ABCD
5sortascending

Or use descending to reverse the order. For stacked charts, sorting is based on the total of all stacked values.

Data Orientation

By default, each row after row 2 is a data point. To transpose (each row is a category):

ABCD
5orientationcolumn
ABCD
1Sales [Revenue]
2RegionQ1Q2Q3
3North120051008000
4South320015002700
5West630083209010

Show Additional Data

For stacked charts, display totals or percentages:

ABCD
5showtotal

Options: total (shows sum above each bar), percent (shows % on hover), or total, percent for both.

Y-Axis Range

NExS automatically scales the Y-axis to fit your data, but you can override this when you want consistent scales across charts or need to emphasize certain ranges. Setting explicit bounds ensures the chart doesn’t rescale unexpectedly as data changes.

ABCD
5yMin0
6yMax10000

Highlighting

Charts can highlight specific data points based on a cell value, creating interactive dashboards where selecting an item in one place emphasizes it in the chart. Point highlight at a cell, and when that cell’s value matches an X-axis label, that section lights up.

ABCD
5highlightB2

Linking Charts

Multiple charts become more powerful when they interact. Linking charts creates coordinated behavior—clicking a pie slice highlights the corresponding data in linked bar charts, and clicking legend items toggles series visibility across all linked charts simultaneously.

ABCD
5linkToChart2

Chart Styling

Color Palette

Customize colors for data series:

ABCD
5palette#3366cc, #dc3912, #ff9900

You can use hex values or color names like steelblue, coral, gold. Colors repeat if you have more categories than colors.

Font Size

ABCD
5fontSizemedium

Options: small, medium (default), large

Legend Position

ABCD
5legendbottom

Options: top, bottom (default), left, right, none (hide), or right, reversed for reversed order.

Background and Colors

ABCD
5backgroundColor#f9f9f9
6alternateColor#eeeeee
7textColor#333333
8highlightColor#ffffe0
  • alternateColor — Alternating Y-axis bands
  • textColor — Titles, labels, ticks
  • highlightColor — X-axis highlight color

Line Chart Options

ABCD
5markerscircle, square, diamond
6markerSize6
7lineWidth3
8gradientFilltrue
  • markers — Shapes: circle, square, diamond, triangle, triangle-down
  • markerSize — Size in pixels (0 = no markers)
  • lineWidth — Line thickness (0 = no connecting lines)
  • gradientFill — Gradient fill for area charts

Global Chart Options

Set defaults for all charts in the app section:

ABCD
1appMy Dashboard
2chartOptions
3palette#3366cc, #dc3912, #ff9900
4fontSizesmall
5backgroundColorwhite

Individual chart settings override these defaults.

Complete Example

ABCD
1appSales Dashboard
2chartOptions
3palettesteelblue, coral, gold
4fontSizemedium
5viewSheet1!A1:H20
6chartA5:D15
7sourceData!A1:D6
8typestacked column
9showtotal, percent
10legendright
11chartE5:H15
12sourceData!A1:D6
13typepie
14linkTochart1

Dynamic Charts

Because chart source ranges can contain Excel formulas, your charts become truly interactive. When users adjust input values, the underlying formulas recalculate, and the chart updates instantly to reflect the new data. Time-based formulas, VLOOKUP results, and conditional calculations all flow through to the visualization automatically. This reactive behavior makes NExS charts ideal for building dashboards that respond to user input in real time.

Next Steps