IN THIS ARTICLE

      Line Chart

      This comprehensive guide will cover everything about Line Chart in Mokkup.

      When to Use?

      A line chart displays data trends over a period of time. It's often used alongside other chart types, like column charts, to illustrate relationships between data points.

      Line charts are beneficial when:

      • Great for tracking and analyzing trends over time, as it helps find patterns, variations, and overall changes in the direction of data.
      • Line charts show how values change smoothly over an interval of time when working with continuous data like temperature, stock values, or revenue.
      • Can compare the trends of multiple variables on a single graph, which gives information about how different factors shift over time and may interact with each other.

      For further insights into line charts, explore more.

      How to Create?

      Creating a New Project:

      • Click on ‘Create new’ from the home page
      • Setup the project by filling in the name and choosing the frame size
      • Drag & Drop the line chart on to the canvas or click on it to add from the left menu
      • Resize it on the canvas and place in the desired location
      • Edit it from the customize element menu which opens on element selection

      Using a Mokkup Template

      • Choose a template from the template library and click ‘Use Template’
      • Select the line chart that needs modification
      • Resize it on the canvas and place in the desired location
      • Edit it from the customize element menu which opens on element selection

      Tip: Mokkup elements have multiple variations that can be accessed by double-clicking on the element or clicking Variation in the customize element menu.

      How to Customize?

      Mokkup allows various customization options for all elements. These customization options are present in the menu on the left side. The edit options are broken into 2 sections - Data and Customize. 

      Data

      Anything related to the data populated in the chart or the chart type can be found here.

      1. Edit Data

      • Add, remove, or modify the pre-built dataset for the chart here.
      • To add more datasets to the chart, click ‘+’ on the right of the dataset table. Once a new dataset is added, fill in the values, and the chart will reflect the new column. Click on ‘-’ to remove any additional dataset columns.
      • Click ‘+’ below the dataset table to add more values to the X-axis. Once a new row is added to the dataset, edit the values, and the chart will reflect the same. Click on ‘-’ to remove any additional dataset rows.

      2. Switch Chart

      • It is an easy way to switch between different chart types.
      • Line charts can be switched to a simple column chart, bar chart, combo chart, or area chart from this menu.

      Customize Chart

      This is the default tab that opens when an element is selected. All element customizations can be done in this tab. Each sub-section will be explained below.

      1. Details

      Edit the basic chart details here

      Title
      • Change the title of the chart here. Toggle off if not needed.
      Alignment
      • Adjust the title alignment to either left, center, or right of the element.

       2. X-Axis

      All settings related to the X-axis are present here.

      Axis
      • Toggle off if the chart doesn’t need an X-axis.
      Title
      • Add a label for the axis here. Toggle off if not needed.
      Gridlines
      • Add or remove vertical gridlines from the chart by switching on or off.

      3. Y-Axis

      All settings related to the Y-axis are present here.

      Axis
      • Toggle off if the chart doesn’t need a Y-axis.
      Assign Dataset
      • If the chart contains multiple datasets, use this to assign datasets to a secondary axis.

      Primary Axis:
      • Add or remove the axis label by turning the ‘Title’ toggle on or off.
      • Edit the axis range by changing the Min/Max values in ‘Range’ and setting the step size.
      Secondary Axis:
      • This is active only if a dataset is assigned to this axis.
      • Add or remove the axis label by turning the ‘Title’ toggle on or off.
      • Edit the axis range by changing the Min/Max values in ‘Range’ and setting the step size.
      Gridlines
      • Add/remove horizontal gridlines to the chart by toggling on/off.

      4. Properties

      Contains all the settings that play a role in the aesthetics of the chart.

      Stroke Width
      • Use the slider to adjust the width/thickness of the bars in the chart.
      Line Style:
      • Using this option you can apply one of the three styles (solid, dotted, dashed) to your chart. 

      Markers:
      • Switch on or off to add or remove markers from the lines in the chart.
      • Change the style of the markers from circle to square, triangle, diamond, etc., from the ‘Style’ drop-down below the toggle.
      • Adjust the marker size as well by using the ‘Size’ slider.
      Data Labels
      • Add/remove data labels to the chart by toggling on/off.
      • Change the position of where they appear by selecting one of the options in the ‘Position’ drop-down.
      Legends
      • Add/remove legends to the chart by toggling on/off.
      • Change the position of where they appear by selecting one of the options in the ‘Position’ drop-down.

      5. Add Ons

      Contains additional elements that can be added to the chart.

      Buttons
      • Toggle on/off to add/remove buttons in the chart.
      • Add multiple buttons by clicking ‘Add Button’.
      • Adjust their alignment to either left, center, or right of the element using ‘Alignment’.
      • Edit the button's content by clicking on ‘Title 1’ text in this menu.
      • Delete any button by clicking the ‘trash’ icon near the name of the button.

      Dropdowns

      • Toggle on or off to add or remove dropdowns in the chart
      • Adjust their alignment to either the left, center, or right of the element using ‘Alignment’
      • Add dropdowns by clicking the ‘+’ icon
      • Reorder them by clicking the ‘Settings’ icon
      • Delete them by clicking the ‘Trash’ icon
      • The title can be edited in the ‘Edit Text’ field, and values can be added by entering values in the ‘Add Values’ field

      KPIs

      • Toggle on or off to add or remove KPIs from the chart. 
      • Add KPIs by clicking the ‘+’ icon
      • Reorder them by clicking the ‘Arrow’ icon
      • Delete them by clicking the ‘Trash’ icon. 
      • Adjust their alignment to either the left, center, or right of the element using ‘Alignment’. 
      • The title can be edited in the ‘Edit Text’ field, and values can be edited in the ‘Measured Value’ and ‘Percentage Change’ fields.

      Text

      • Toggle on or off to add or remove text boxes in the chart. Enter any information that needs to be included for the chart by editing the ‘Text’ field. 
      • Adjust the alignment to either the left, center, or right of the element using ‘Alignment’. 
      • Change the font weight to normal, medium, or bold from ‘Font weight’.

      Tip: Some add-ons cannot be used together in an element. For example, turning on the KPIs toggle will automatically switch off legends, and vice versa.

      6. Variation

      • By clicking this, the 'Choose Style' pop-up will appear. From here, choose a different design for the element. 
      • Also, the pop-up can be opened by double-clicking any chosen element.
      • By changing it using the methods outlined above, other element modifications can be achieved.

      7. Design Customizations

      • This will access the 'Design Customizations' menu when clicked. 
      • Use this to change your active theme and utilize customization options to adjust the canvas accordingly.
      • For more information, please refer to this article.

      This is a complete guide to using and editing a Line chart on Mokkup. For further questions, please ask our chatbot or contact support.

      Similar articles