Skip to content

Line Chart

Olivier Carpentier edited this page Nov 6, 2016 · 7 revisions

Note: The SharePoint Framework is currently in preview and is subject to change. SharePoint Framework client-side web parts are not currently supported for use in production environments.

Line Chart Web Part Overview

The Line Chart Web Part is a SharePoint client side web part built with the SharePoint Framework (SPFx). This web part insert a Bar Chart in your pages, and you can manage the Line chart settings as items, color, title, legends, etc. This web part uses chart.js lib. This web part uses also the Custom Fields library to enhance the web part edition experience.

Line Chart

Properties

You can manage the following settings:

  • items: a collection of items with the following properties: Label, Value
  • responsive: indicates if the chart will automatically fit the parent zone size
  • width: if responsive is false, sets the chart width
  • height: if responsive is false, sets the chart height
  • fill: boolean to indicate if the area after the line is filled or not
  • fillColor: fill Color
  • lineTension: line tension (0 is straight)
  • showLine: show the line or online the point
  • steppedLine: normal line or stepped line
  • pointStyle: point style (point, circle, star, etc.)
  • xAxesEnable: scale animation enabled or not
  • yAxesEnable: scale animation enabled or not
  • titleEnable: show the title
  • title: title text
  • position: title position (left, top, bottom, right)
  • titleFont: title font
  • titleSize: title font size
  • titleColor: title font color
Clone this wiki locally