Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
330
font size for the scale values on y-axis
posted

Hi!

I am using XamWebChart. The default scale values on the x-axis and y-axis appear bigger for me. Is there a way to reduce the font size of these values on both the axis. Please suggest.

Thanks and regards,

Usha.

 

  • 26458
    Suggested Answer
    Offline posted

    Certainly. You can set the fontsize on the axis labels to reduce font.

    <igChart:XamWebChart Name="chart">
         <igChart:XamWebChart.Series>
              <igChart:Series/>
         </igChart:XamWebChart.Series>
         <igChart:XamWebChart.Axes>
              <igChart:Axis AxisType="PrimaryX">
                   <igChart:Axis.Label>
                        <igChart:LabelGroup FontSize="10"/>
                   </igChart:Axis.Label>
            </igChart:Axis>
            <igChart:Axis AxisType="PrimaryY">
                  <igChart:Axis.Label>
                      <igChart:LabelGroup FontSize="10"/>
                  </igChart:Axis.Label>
              </igChart:Axis>
         </igChart:XamWebChart.Axes>
    </igChart:XamWebChart>