We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Description
For conditional formatting utilizing 2_color_scale or 3_color_scale formatting types, min_value, max_value, and mid_value are not used as documented.
2_color_scale
3_color_scale
min_value
max_value
mid_value
Steps to reproduce the issue:
package main import ( "github.com/360EntSecGroup-Skylar/excelize" ) func main() { xlsx := excelize.NewFile() sheet := "sheet1" format := `[{ "type":"3_color_scale", "criteria":"=", "min_type":"num", "mid_type":"num", "max_type":"num", "min_value": "-10", "mid_value": "0", "max_value": "10", "min_color":"ff0000", "mid_color":"00ff00", "max_color":"0000ff" }]` xlsx.SetConditionalFormat(sheet, "A1:A1", format) xlsx.SetCellValue(sheet, "A1", -5) xlsx.SaveAs("format.xlsx") }
Describe the results you received:
Describe the results you expected:
Go version
$ go version go version go1.10.3 windows/amd64
Excelize version or commit ID:
v1.3.0
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Description
For conditional formatting utilizing
2_color_scale
or3_color_scale
formatting types,min_value
,max_value
, andmid_value
are not used as documented.Steps to reproduce the issue:
Describe the results you received:
Describe the results you expected:
Go version
Excelize version or commit ID:
The text was updated successfully, but these errors were encountered: