• <menu id="w2i4a"></menu>
  • 首頁 > 慧問 > 頻道

    請問fusioncharts中用餅圖展示的時候,怎么控制顯示的百分比的小數(shù)位數(shù)?[FusionCharts XT]

    發(fā)表于2019-05-10 回復:0 查看:2409  |  
    請問fusioncharts中用餅圖展示的時候,怎么控制顯示的百分比的小數(shù)位數(shù)?
    1個回答
    • 1970-01-01 08:00
      您可以在SelectionChanged事件中來手動不選某些行。 <pre class='brush:csharp'> private void gridView1_SelectionChanged(object sender, DevExpress.Data.SelectionChangedEventArgs e) { GridView view = sender as GridView; view.SelectionChanged -= gridView1_SelectionChanged; var rows = view.GetSelectedRows().Select(i => new { Model = view.GetRow(i) as Model, RowHandle = i }).ToArray(); foreach (var row in rows) if (!row.Model.IsSelectable) gridView1.UnselectRow(row.RowHandle); view.SelectionChanged += gridView1_SelectionChanged; } private IEnumerable<Model> CreateModel() { return new[] { new Model {Name = "Item1", IsSelectable = true}, new Model {Name = "Item2", IsSelectable = false}, new Model {Name = "Item3", IsSelectable = true}, new Model {Name = "Item4", IsSelectable = true} }; } </pre>
      1
      回復 舉報
    回復

    登錄 慧都網(wǎng)發(fā)表評論

    掃碼咨詢


    添加微信 立即咨詢

    電話咨詢

    客服熱線
    023-68661681

    TOP
    三级成人熟女影院,欧美午夜成人精品视频,亚洲国产成人乱色在线观看,色中色成人论坛 (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })();