summaryrefslogtreecommitdiff
path: root/chart.go
diff options
context:
space:
mode:
authorRi Xu <xuri.me@gmail.com>2017-05-16 20:42:01 +0800
committerRi Xu <xuri.me@gmail.com>2017-05-16 20:42:01 +0800
commit70f6328150aa954cd9721e90883f001ea005c1ee (patch)
tree6dbadfb4b1fe1306f7794295b904e5f30fd29bb7 /chart.go
parentcf97118bfe48eb36b82c4a833b51d3ea4bfffa97 (diff)
Support set font style of shape text. Relate issue #38.
Diffstat (limited to 'chart.go')
-rw-r--r--chart.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/chart.go b/chart.go
index ba428d5..3f21ea6 100644
--- a/chart.go
+++ b/chart.go
@@ -252,7 +252,7 @@ func (f *File) addChart(formatSet *formatChart) {
Rich: &cRich{
P: aP{
PPr: &aPPr{
- DefRPr: aDefRPr{
+ DefRPr: aRPr{
Kern: 1200,
Strike: "noStrike",
U: "none",
@@ -292,7 +292,7 @@ func (f *File) addChart(formatSet *formatChart) {
TxPr: cTxPr{
P: aP{
PPr: &aPPr{
- DefRPr: aDefRPr{
+ DefRPr: aRPr{
Kern: 1200,
U: "none",
Sz: 14000,
@@ -812,7 +812,7 @@ func (f *File) drawPlotAreaTxPr() *cTxPr {
},
P: aP{
PPr: &aPPr{
- DefRPr: aDefRPr{
+ DefRPr: aRPr{
Sz: 900,
B: false,
I: false,