Hi,
In the following sample code, how do we set the value of LableTextStyle? Can we use this to change the font size of the axis lable?
Thanks,
// Initialization
$(
".selector"
).igDataChart({
axes: [{
name:
"xAxis"
,
type:
"numericX"
labelTextStyle:
"chartLabel"
}]
});
// Get
var
axes = $(
).igDataChart(
"option"
"axes"
);
axes[0].labelTextStyle;
// Set
, blue
[{
by default its going to use whatever font would be applied to the container of the chart. But you can use a css font string in labelTextSyle to override the font used at the individual axis level.
for example: "italic bold 12pt/14pt Times, serif"