• Stars
    star
    182
  • Rank 211,154 (Top 5 %)
  • Language
    JavaScript
  • Created almost 9 years ago
  • Updated over 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Sparkliner — easy way to make sparkline graph [Sketch plugin]

Sparkliner — easy way to make sparkline graph

A sparkline is a very small line chart, typically drawn without axes or coordinates. It presents the general shape of the variation (typically over time) in some measurement, such as temperature or stock market price, in a simple and highly condensed way.

How it works

Gif more than thousand words

##Order

  1. Create an artboard;
  2. Create a start rectangle. It sets sizes of a future sparkline graph;
  3. Start command from menu or press shortcuts ctrl + shift + g ;
  4. Find and import your JSON file;
  5. Get sparkline.

How install the plugin

  1. Download the zip file with the Sparkliner.
  2. Copy the contents to the Plugin Folder (Plugin > Manage Plugins... > Show Plugins Folder).

What do you need first

Sparkliner creates graph with JSON data. First your need have it. It looks like that (example.json):

{
  "dataArray": [10, 30, 3, 8, 39, 25, 22, 89, 74, 7, 2, 40, 61, 17, 35, 31, 8, 14, 39, 32, 53],
  "strokeColor": "#00AAFF",
  "thickness": 1,
  "displayEndPoint": true,
  "endPointColor": "#DD2020",
  "endPointRadius": 2,
  "removeInitialBox": true
}

Open the file in your favorite editor and change the values of the names how you need (e.g. "strokeColor" is a name. "#00AAFF" is its a value. Together they are a pair). Or create new one.

What are they

"dataArray" Data is an array. It defines a graph curve. Only numbers.

"strokeColor" Color of sparkline. You need to write HEX color here. Don't forget about "quotes".

"thickness" Thickness of line. Only one number.

"displayEndPoint" If it equals true sparkline is made with an end marker. If it equals false - it is not.

"endPointColor" Color of end marker. It needs a HEX.

"endPointRadius" Radius of end marker. Only one number.

"removeInitialBox" It is start rectangle that set sizes of sparkline graph. By default plugin removes it. If you need it you can set false.

Links

Linkedin | Dribbble | Facebook

More Repositories

1

swipeable-cards

Swipeable Cards with SwiftUI
Swift
200
star
2

Perfecter

Make great typography [Sketch plugin]
JavaScript
119
star
3

Processing-Posters

A collection of generative posters I designed with p5.js
JavaScript
106
star
4

iShadow

Creating a beautiful iOS style shadow [Sketch Plugin]
JavaScript
89
star
5

Paster

Pasting a text data from a clipboard directlly to Sketch text layers [Sketch plugin]
JavaScript
88
star
6

Hover3D.js

A cool 3D hover effect for your awesome web project.
JavaScript
74
star
7

Gridddle

Grid module for FramerJS
CoffeeScript
53
star
8

Gridy

An easy way to create guidelines [Sketch plugin]
JavaScript
53
star
9

Counter

Counting characters and words in the text layer [Sketch plugin]
JavaScript
32
star
10

Badges

App Store and Google Play Badges
26
star
11

SparklinerJS

Easy way to make a sparkline graph in web
JavaScript
21
star
12

Grid-Mesh

Create a procedural mesh-based grid for your cool Unity 3D project.
C#
20
star
13

850words

App helps to learn a list of 850 basic english words.
CSS
12
star
14

VR-Games

Collection of my VR game prototypes developed with Unity 3D.
C#
9
star
15

Menu-Interaction

Menu Interaction developed with SwiftUI
Swift
6
star
16

switcher-lxii

Toggle animation with SwiftUI.
Swift
6
star
17

XR-Emitter

Simple XR controller events emitter for Unity's XR Interaction Toolkit
C#
3
star
18

UI-Experiments

Web based UI experiments (CSS, JavaScript)
JavaScript
3
star
19

volorf.github.io

My Portfolio (UX/Mobile/VR/AR)
JavaScript
3
star
20

Mega-Walker

Real-time generative experiment with Unity 3D.
C#
2
star
21

oracle

Simple analytic tool for startups
CSS
2
star
22

VR-Experiments

VR experiments with Unity
2
star
23

SketchDev

Code examples for Sketch Dev
JavaScript
2
star
24

VR-Notifications

Simple Notification System for VR.
C#
2
star
25

ThreeJS-Experiments

My experiments with three.js
JavaScript
1
star
26

VR-Touch-Controllers

Minimalist XR Hand Controllers for your new stylish Unity project
1
star
27

vr-slider

Interactive VR prototype of the concept — https://dribbble.com/shots/16776679-Meta-Slider
C#
1
star
28

confetti

3D Confetti
JavaScript
1
star