forked from p30928647/excelize
- Add number format code with unicode values, relate issue #86;
- godoc updated
This commit is contained in:
parent
6aa59a1af2
commit
8493fea373
|
@ -5,7 +5,7 @@
|
|||
[![Build Status](https://travis-ci.org/360EntSecGroup-Skylar/excelize.svg?branch=master)](https://travis-ci.org/360EntSecGroup-Skylar/excelize)
|
||||
[![Code Coverage](https://codecov.io/gh/360EntSecGroup-Skylar/excelize/branch/master/graph/badge.svg)](https://codecov.io/gh/360EntSecGroup-Skylar/excelize)
|
||||
[![Go Report Card](https://goreportcard.com/badge/github.com/xuri/excelize)](https://goreportcard.com/report/github.com/xuri/excelize)
|
||||
[![GoDoc](https://godoc.org/github.com/xuri/excelize?status.svg)](https://godoc.org/github.com/xuri/excelize)
|
||||
[![GoDoc](https://godoc.org/github.com/360EntSecGroup-Skylar/excelize?status.svg)](https://godoc.org/github.com/360EntSecGroup-Skylar/excelize)
|
||||
[![Licenses](https://img.shields.io/badge/license-bsd-orange.svg)](https://opensource.org/licenses/BSD-3-Clause)
|
||||
[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.me/xuri)
|
||||
|
||||
|
|
9
cell.go
9
cell.go
|
@ -206,7 +206,14 @@ func (f *File) SetCellFormula(sheet, axis, formula string) {
|
|||
}
|
||||
|
||||
// SetCellHyperLink provides function to set cell hyperlink by given sheet index
|
||||
// and link URL address. Only support external link currently.
|
||||
// and link URL address. Only support external link currently. For example: add
|
||||
// hyperLink for Sheet1!A3:
|
||||
//
|
||||
// xlsx.SetCellHyperLink("Sheet1", "A3", "https://github.com/xuri/excelize")
|
||||
// // Set underline and font color style for the cell.
|
||||
// style, _ := xlsx.NewStyle(`{"font":{"color":"#1265BE","underline":"single"}}`)
|
||||
// xlsx.SetCellStyle("Sheet1", "A3", "A3", style)
|
||||
//
|
||||
func (f *File) SetCellHyperLink(sheet, axis, link string) {
|
||||
xlsx := f.workSheetReader(sheet)
|
||||
axis = f.mergeCellsParser(xlsx, axis)
|
||||
|
|
20
chart.go
20
chart.go
|
@ -89,16 +89,16 @@ func parseFormatChartSet(formatSet string) *formatChart {
|
|||
//
|
||||
// The following shows the type of chart supported by excelize:
|
||||
//
|
||||
// | Type | Chart |
|
||||
// +----------+----------------+
|
||||
// | bar | bar chart |
|
||||
// | bar3D | 3D bar chart |
|
||||
// | doughnut | doughnut chart |
|
||||
// | line | line chart |
|
||||
// | pie | pie chart |
|
||||
// | pie3D | 3D pie chart |
|
||||
// | radar | radar chart |
|
||||
// | scatter | scatter chart |
|
||||
// Type | Chart
|
||||
// ----------+----------------
|
||||
// bar | bar chart
|
||||
// bar3D | 3D bar chart
|
||||
// doughnut | doughnut chart
|
||||
// line | line chart
|
||||
// pie | pie chart
|
||||
// pie3D | 3D pie chart
|
||||
// radar | radar chart
|
||||
// scatter | scatter chart
|
||||
//
|
||||
// In Excel a chart series is a collection of information that defines which data is plotted such as values, axis labels and formatting.
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue