• MsChart<4.1> 雷达图Radar Chart


     雷达图(只有一个产品时):

    将Series1的Color=“Transparent”,设置为透明,Or是整个区域的颜色。是一个产品的趋势时候还无所谓,如果是两个产品的前面的就会覆盖后面的趋势图。

    HTML
     1 <asp:Chart ID="Chart3" runat="server" Width="768px" Height="600px" BackColor="WhiteSmoke" BackSecondaryColor="AliceBlue" BorderlineDashStyle="Solid" BorderlineColor="Gray" BackGradientStyle="DiagonalLeft">
    2 <Series>
    3 <asp:Series Name="Series1" Color="Transparent" BorderColor="#0066FF" BorderWidth="2"></asp:Series>
    4 </Series>
    5 <ChartAreas>
    6 <asp:ChartArea Name="ChartArea1">
    7 <AxisY>
    8 <MajorGrid LineColor="#999999" LineDashStyle="Solid" />
    9 </AxisY>
    10 <AxisX>
    11 <MajorGrid LineColor="#999999" LineDashStyle="Solid" />
    12 <LabelStyle Font="Microsoft Sans Serif, 8pt" />
    13 </AxisX>
    14 </asp:ChartArea>
    15 </ChartAreas>
    16 </asp:Chart>

    后台代码:

    View Code
    1  Chart3.Series["Series1"].Points.DataBind(dt.DefaultView, "Feature", "FeatureScore", "LegendText=Feature,YValues=FeatureScore,ToolTip=FeatureScore");
    2 Chart3.Series["Series1"].ChartType = SeriesChartType.Radar;
    3 Chart3.Series["Series1"].IsValueShownAsLabel = true;
    4 Chart3.DataBind();
    Be the change you want to see in the world.
  • 相关阅读:
    Epplus
    常用的android弹出对话框
    android 获取当前位置
    android:inputType参数类型说明
    PageRank算法
    XGBoost算法
    FP-growth算法
    卡方分布与卡方检验
    Apriori算法
    关联规则
  • 原文地址:https://www.cnblogs.com/eva_2010/p/2284948.html
Copyright © 2020-2023  润新知