Skip to main content

pygraph

Developed by Harsh-singh586 2021

Examples of How To Use

import pychartweb

g1 = pychartweb.graph(name , x-xis)
g1.adddata(graph_type , lebel, y-axis, background_color)
g1.adddata(graph_type , lebel, y-axis, background_color)
pychartweb.show([g1])

Example Single Graph

import pychartweb

# Choose One

g1 = pychartweb.graph('first', ['firstval', 'secval'])
g1.adddata('bar', 'test', [4, 3], ['yellow', 'green'])
pychartweb.show([g1])

Example Multiple Graph

import pychartweb

# Choose One

g1 = pychartweb.graph('first', ['firstval', 'secval'])
g1.adddata('bar', 'test', [4, 3], ['yellow', 'green'])
g2 = pychartweb.graph('second', ['firstval', 'secval'])
g2.adddata('bar', 'test', [8, 7], ['yellow', 'green'])
pychartweb.show([g1, g2])

Example Mixed Graph

import pychartweb

# Choose One

g1 = pychartweb.graph('first', ['firstval', 'secval'])
g1.adddata('bar', 'test', [4, 3], ['yellow', 'green'])
g1.adddata('line', 'test', [8, 7], ['red', 'blue'])
pychartweb..show([g1])

You can see your graph on http://localhost:8000

NOTE:

  1. No two graph name can be same
  2. Number of values on y-axis must be same as x-axis
  3. Graphs Available
    1. 'bar'
    2. 'line'
    3. 'polar'
    4. 'doughnut'
    5. 'pie'

Sample

Check out: https://github.com/Harsh-singh586/pygraph

Metadata

Release files for pychartweb 1.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pychartweb 1.1.1
File Size Uploaded
pychartweb-1.1.1.tar.gz 73.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pychartweb 1.1.1
File Interpreter ABI Platform
pychartweb-1.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 143.0 kB

Release files / pychartweb-1.1.1.tar.gz

Download URL pychartweb-1.1.1.tar.gz
Size 73.8 kB
Tags Source
SHA-256 checksum
How to use checksums
cffc7e214e08de3cd7f0f6a5cb5105cfd762825ca061a2824bf0d6387bab684c
BLAKE2b-256 checksum
How to use checksums
5773f02b0d520764a5b1db0a52a1a869d737356a2646118d336513006df6699e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.6

Release files / pychartweb-1.1.1-py3-none-any.whl

Download URL pychartweb-1.1.1-py3-none-any.whl
Size 69.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d6245f2692ca56a0a2b56504d52b961f86f46b0d3d512f40addc1ef92ce98975
BLAKE2b-256 checksum
How to use checksums
284380d6b1b3c830953e62637d5770870acf23598c70c30eec68ad14bdb663bc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.6

Release history Release notifications | RSS feed

This release

1.1.1 This release

2 release files

1.1.0

2 release files

1.0.9

2 release files

1.0.8

2 release files

1.0.7

2 release files

1.0.5

2 release files

1.0.2

2 release files

1.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page