Skip to content

Commit f2c08b5

Browse files
authored
Merge pull request #3 from Lipata/nalipiev/chart-title
Change chart title sample's title colors.
2 parents 478caff + 6370d0a commit f2c08b5

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

HTMLSamples/data-chart/chart-title.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,11 @@
2626
height: "400px",
2727
dataSource: lastFiveYears,
2828
title: "$$(Chart_title_energy_production)",
29+
titleTextColor: "#2e9ca6",
30+
titleTextStyle: "20pt Arial",
2931
subtitle: "$$(Chart_subtitle_energy_production)",
32+
subtitleTextColor: "#2e9ca6",
33+
subtitleTextStyle: "14pt Arial",
3034
horizontalZoomable: true,
3135
verticalZoomable: true,
3236
legend: { element: "columnLegend" },
@@ -105,9 +109,7 @@
105109

106110
<style type="text/css">
107111
td { vertical-align: top; }
108-
.chartElement {
109-
padding-bottom: 20px;
110-
}
112+
.chartElement { padding-bottom: 20px; }
111113
</style>
112114

113115
<table><tr><td id="columnChart" class="chartElement"></td><td id="columnLegend" style="float: left"></td></tr></table>

0 commit comments

Comments
 (0)