# Peity ADDON Simple and lightweight miniature chart.

EXPENSES $47,000
1,4,3,6,5,3,9,6,5,9,7
MY PROFITS $38,500
1,4,3,6,5,3,9,6,5,9,7
About

Peity (sounds like deity) is a jQuery plugin that converts an element's content into a `svg` mini pie donut line or bar chart and is compatible with any browser that supports `svg`. Peity chart is only 4kb, which makes it great to create fast lightweight charts with minimum effort.

Find tutorials, guidelines and more on Peity's official documentation

## Line Chart

You can specify the width of the strokes using `strokeWidth` inside `data-peity` attribute
5,3,9,6,5,9,7,3,5,2
0,-3,-6,-4,-5,-4,-7,-3,-5,-2
0,1,7,6,4,2,3,5,3,4
5,3,9,6,5,3,1,7,6,4

## Area Chart

Example of line with filling. You can add fill by using inserting `data-peity='{ "fill": "#1dc9b7" }'`
5,3,2,-1,-3,-2,2,3,5,2
1,4,4,7,5,9,10,4,4,7,5,9,10
5,3,9,6,5,3,1,7,6,4,4,1,5
0,1,7,6,4,2,3,5,3,4,3,1,4,6

## Bar Chart

Bar charts can have positive or negative integers. You can change the bar colors via the following `data-peity='{ "fill": ["#7a59ad","#886ab5","#967bbd","#a38cc6"] }'`
5,3,9,6,5,9,7,3,5,2
4,-3,-6,-4,-5,-4,7,-3,-5,2
0,1,7,6,4,2,3,5,3,4
0,-1,-7,-6,-4,-2,-3,-5,-3,-4

## Pie Chart

Pie charts can have any values. You can change the colors via the following `data-peity='{ "fill": ["#7a59ad","#886ab5","#967bbd","#a38cc6"] }'`
1/4
7,6,3,4
5/10
2,3,4,7,9,10,5,6

## Donut Chart

Donut charts can have any values. You can change the colors via the following `data-peity='{ "fill": ["#7a59ad","#886ab5","#967bbd","#a38cc6"] }'`
1/3
10,4,4,6
5/10
2,3,4,7,9,10,5,6

## Updating Chart

The following chart is updated using a small jquery snippet where it generates a random number and then is pushed into the following chart below every 1/2 second
5,3,9,6,5,9,7,3,5,2,5,3,9,6,5,9,7,3,5,2

## Dynamic Colors

Colors, sizes and different settings of the chart can be generated dynamically `$(".bar-colours-2").peity("bar", { fill: [value], height: value, ect... }`
5,3,2,-1,-3,-2,2,3,5,2
5,3,9,6,5,9,7,3,5,2

## Chart Sizes

Since the chart is just a generated SVG file, you can potentially generate the chart to any sizes using the values `innerRadius` and `radius` for pie and donut charts, and `width` and `height` for other charts
1/7 2/7 3/7 4/7 5/7 6/7 7/7

- Home
- Inbox
- Add More

Tracey Chang
IT Director

- Tracey Chang Online
- Oliver Kopyuv Online
- Dr. John Cook PhD Away
- Ali Amdaney Online
- Sarah McBrook Online
- oliver.kopyuv@gotbootstrap.com Offline
- oliver.kopyuv@gotbootstrap.com Busy
- oliver.kopyuv@gotbootstrap.com Offline
- +714651347790 Missed Call

Jun 19

Hey Tracey, did you get my files?

3:00 pm

Hi

Sorry going through a busy time in office. Yes I analyzed the solution.

It will require some resource, which I could not manage.

3:24 pm

Okay

Sending you some dough today, you can allocate the resources to this project.

3:26 pm

Perfect. Thanks a lot!

I will have them ready by tonight.

Cheers

Jun 20
Send

#### Layout Settings User Interface Settings

##### App Layout

Fixed Header header is in a fixed at all times
Fixed Navigation left panel is fixed
Minify Navigation Skew nav to maximize space
Hide Navigation roll mouse on edge to reveal
Top Navigation Relocate left pane to top
Fixed Footer page footer is fixed
Boxed Layout Encapsulates to a container

Fixed Background

##### Mobile Menu

Push Content Content pushed on menu reveal
No Overlay Removes mesh on menu reveal
Off-Canvas (beta) Content overlaps menu

##### Accessibility

Bigger Content Font content fonts are bigger for readability
High Contrast Text (WCAG 2 AA) 4.5:1 text contrast ratio
Daltonism (beta) color vision deficiency
Preloader Inside preloader will be inside content
SmartPanel Icons (not Panels) smartpanel buttons will appear as icons

##### Global Modifications

Clean Page Background adds more whitespace
Hide Navigation Icons invisible navigation icons
Disable CSS Animation Disables CSS based animations
Hide Info Card Hides info card from left panel
Lean Subheader distinguished page header
Hierarchical Navigation Clear breakdown of nav links
Dark Navigation Navigation background is darkend

##### Global Font Size

SM MD LG XL
Change root font size to effect rem values (resets on page refresh)

##### Theme colors more info

##### Theme Modes (beta) why beta?

###### Internet Explorer Issue

This particular component may not work as expected in Internet Explorer. Please use with caution.
Default
Light
Dark

Reset Settings
Factory Reset