titleTextStyle Property with Dual-Y Column Chart

46 views
Skip to first unread message

Aaron Best

unread,
Jan 10, 2017, 11:18:15 AM1/10/17
to Google Visualization API


When using the dual-Y Column Chart I can not add the property 'titleTextStyle' to the options variable. Is there a reason for this or is this a bug?




var options = {
        chart: {
          title: 'Contract vs Actual Cost',
          titleTextStyle: { color: '#000', fontSize: 30, },
          subtitle: 'Based on a scale of 1 to 1000'
        },
        hAxis: {
          title: 'Costs',
          viewWindow: {
            min: [7, 1000, 0],
            max: [17, 1000, 0]
          }
        },
        vAxis: {
          title: 'Rating (scale of 1-10)'
        }
};

Daniel LaLiberte

unread,
Jan 10, 2017, 11:54:07 AM1/10/17
to Google Visualization API
I would guess you are using the Material Column Chart, given your 'chart' option.  There are several options not supported for the Material charts.  See https://github.com/google/google-visualization-issues/issues/2143
I just added titleTextStyle to the list since it was missing.

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualization-api+unsub...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/75ab945f-12bf-4f5d-87b3-37baab9986ea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

Aaron Best

unread,
Jan 10, 2017, 5:52:52 PM1/10/17
to Google Visualization API
Thanks Daniel for getting back to me.


On Tuesday, January 10, 2017 at 10:54:07 AM UTC-6, Daniel LaLiberte wrote:
I would guess you are using the Material Column Chart, given your 'chart' option.  There are several options not supported for the Material charts.  See https://github.com/google/google-visualization-issues/issues/2143
I just added titleTextStyle to the list since it was missing.
On Tue, Jan 10, 2017 at 11:18 AM, Aaron Best <aaron...@gmail.com> wrote:


When using the dual-Y Column Chart I can not add the property 'titleTextStyle' to the options variable. Is there a reason for this or is this a bug?




var options = {
        chart: {
          title: 'Contract vs Actual Cost',
          titleTextStyle: { color: '#000', fontSize: 30, },
          subtitle: 'Based on a scale of 1 to 1000'
        },
        hAxis: {
          title: 'Costs',
          viewWindow: {
            min: [7, 1000, 0],
            max: [17, 1000, 0]
          }
        },
        vAxis: {
          title: 'Rating (scale of 1-10)'
        }
};

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualization-api+unsub...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.



--
Reply all
Reply to author
Forward
0 new messages