Skip to content

Commit

Permalink
Pretty much functioning chart
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-NRCan committed Sep 26, 2023
1 parent b9a4af9 commit eac4f33
Show file tree
Hide file tree
Showing 24 changed files with 697 additions and 486 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# geoview-plugins-demo

This project is an example demo that shows how you can use the viewer from an external package
This project is Chart Plugin.

[Demo](https://canadian-geospatial-platform.github.io/geoview-plugins-demo/)
NOTE: Add info on having externals in webpack due to react hooks and never link to a local running cgpv-main, use a cgpv-main from git hub release.

[Demo](https://github.com/Canadian-Geospatial-Platform/geochart/public)

```html
The viewer is being loaded in public/index.html as a script tag
Expand All @@ -15,13 +17,13 @@ The viewer is being loaded in public/index.html as a script tag
### First clone this repo

```
$ git clone https://github.com/Canadian-Geospatial-Platform/geoview-plugins-demo.git
$ git clone https://github.com/Canadian-Geospatial-Platform/geochart.git
```

### Go to the directory of the cloned repo

```
cd GeoView-Plugins-Demo
cd geochart
```

### Install dependencies
Expand Down
File renamed without changes.
File renamed without changes.
5 changes: 2 additions & 3 deletions public/index.html → index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,17 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Charts Plugin</title>
<title>Charts</title>
<link rel="shortcut icon" href="./favicon.ico" />

<link
rel="stylesheet"
href="https://fonts.googleapis.com/icon?family=Material+Icons"
/>

<link rel="stylesheet" href="css/style.css" />
<script src="https://canadian-geospatial-platform.github.io/geoview/public/cgpv-main.js"></script>

<!-- <script src="http://localhost:8080/cgpv-main.js"></script> -->
<!-- <script src="cgpv-main.js"></script> -->

<script>

Expand Down
Loading

0 comments on commit eac4f33

Please sign in to comment.