Merge branch 'master' into feature/cssStyleElement

This commit is contained in:
Will Charczuk 2018-10-12 09:37:38 -07:00 committed by GitHub
commit d25137959c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 30 additions and 21 deletions

17
.circleci/config.yml Normal file
View file

@ -0,0 +1,17 @@
version: 2
jobs:
build:
working_directory: /go/src/github.com/wcharczuk/go-chart
docker:
- image: circleci/golang:1.11
steps:
- checkout
- run:
name: new-install
command: make new-install
- run:
name: ci
command: make ci
- store_artifacts:
path: coverage.html
destination: coverage.html

1
.gitignore vendored
View file

@ -16,3 +16,4 @@
# Other
.vscode
.DS_Store
coverage.html

View file

@ -1,13 +0,0 @@
language: go
go:
- 1.11
sudo: false
before_script:
- go get -u github.com/blend/go-sdk/assert
- go get ./...
script:
- go test ./...

1
COVERAGE Normal file
View file

@ -0,0 +1 @@
70.89

View file

@ -1,8 +1,11 @@
all: test
tools:
@go get -u github.com/blend/go-sdk/_bin/coverage
@go get -u github.com/blend/go-sdk/_bin/profanity
ci: profanity coverage
new-install:
@go get -v -u ./...
@go get -v -u github.com/blend/go-sdk/cmd/coverage
@go get -v -u github.com/blend/go-sdk/cmd/profanity
test:
@go test ./...
@ -11,5 +14,5 @@ test:
profanity:
@profanity -include="*.go,Makefile,README.md"
cover:
coverage:
@coverage

View file

@ -1,9 +1,9 @@
go-chart
========
[![Build Status](https://travis-ci.org/wcharczuk/go-chart.svg?branch=master)](https://travis-ci.org/wcharczuk/go-chart) [![Go Report Card](https://goreportcard.com/badge/github.com/wcharczuk/go-chart)](https://goreportcard.com/report/github.com/wcharczuk/go-chart)
[![CircleCI](https://circleci.com/gh/wcharczuk/go-chart.svg?style=svg)](https://circleci.com/gh/wcharczuk/go-chart) [![Go Report Card](https://goreportcard.com/badge/github.com/wcharczuk/go-chart)](https://goreportcard.com/report/github.com/wcharczuk/go-chart)
Package `chart` is a very simple golang native charting library that supports timeseries and continuous
line charts.
line charts.
The v1.0 release has been tagged so things should be more or less stable, if something changes please log an issue.
@ -17,9 +17,9 @@ To install `chart` run the following:
> go get -u github.com/wcharczuk/go-chart
```
Most of the components are interchangeable so feel free to crib whatever you want.
Most of the components are interchangeable so feel free to crib whatever you want.
# Output Examples
# Output Examples
Spark Lines: