zoukankan      html  css  js  c++  java
  • 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.
  • 相关阅读:
    模型层
    视图层,模板层
    ORM表关系建立
    CMakeList入门
    C++标准模板库
    C++基本语法
    g++应用说明
    Linux快捷键
    Git 操作备忘
    Block的详细介绍
  • 原文地址:https://www.cnblogs.com/eva_2010/p/2284948.html
Copyright © 2011-2022 走看看