weixin_33744854 2018-09-14 14:36 采纳率: 0%
浏览 27

Rad HTML图表分组

My question is about how to group XAsis in Telerik rad Html chart? The image below shows the current state of my the Html Column chart: enter image description here All I want to know is how to group the XAsis by month so it won't repeat. Something like in this:

enter image description here

<telerik:radhtmlchart runat="server" id="RadHtmlChart1" OnLoad="RadHtmlChart1_Load" Width="800px" Height="500px"  >
    <PlotArea>
        <Series>
            <telerik:ColumnSeries  DataFieldY="TotalAdded" Stacked="true" >
              
                <Appearance>
                   
                            <FillStyle BackgroundColor="#d5a2bb"  ></FillStyle>
                        </Appearance>
              

                <LabelsAppearance Position="InsideEnd">

                    <ClientTemplate >
                       
                        #=dataItem.EventCode# 
                    </ClientTemplate>
                   
                </LabelsAppearance>
                
                        
            </telerik:ColumnSeries>


            


        </Series>


        <XAxis Color="Black" MajorTickType="Outside" MinorTickType="Outside" Reversed="false" Name="xAug" DataLabelsField="MonthName">
   
             <MinorGridLines Visible="false"></MinorGridLines>
                    <MajorGridLines Visible="false"></MajorGridLines>
             <LabelsAppearance RotationAngle="75"   >

                    
             </LabelsAppearance>
                 
           
            <MajorGridLines Color="#EFEFEF" Width="1" />
            <MinorGridLines Color="#F7F7F7" Width="1" />
            <TitleAppearance Position="Center" RotationAngle="0" Text="Months" />

    
       
                 <LabelsAppearance RotationAngle="75" Skip="0" Step="1"></LabelsAppearance>
                    <TitleAppearance Position="Center" RotationAngle="0" Text="Quarters">
                    </TitleAppearance>



                </XAxis>

    </PlotArea>

             <Legend>
                <Appearance Visible="false">
                </Appearance>
            </Legend>
</telerik:radhtmlchart>

</div>
  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 深度学习根据CNN网络模型,搭建BP模型并训练MNIST数据集
    • ¥15 lammps拉伸应力应变曲线分析
    • ¥15 C++ 头文件/宏冲突问题解决
    • ¥15 用comsol模拟大气湍流通过底部加热(温度不同)的腔体
    • ¥50 安卓adb backup备份子用户应用数据失败
    • ¥20 有人能用聚类分析帮我分析一下文本内容嘛
    • ¥15 请问Lammps做复合材料拉伸模拟,应力应变曲线问题
    • ¥30 python代码,帮调试,帮帮忙吧
    • ¥15 #MATLAB仿真#车辆换道路径规划
    • ¥15 java 操作 elasticsearch 8.1 实现 索引的重建