wei
2021-03-26 976c266003d052c93d45f438fa8f6ccfc926b3b2
HDL_ON/UI/UI2/FuntionControlView/EnvironmentalScience/EchartsOption_Pie.cs
@@ -34,20 +34,26 @@
        /// <returns></returns>
        private string GetChartControlCommonOption()
        {
            //{0}:数据
        //{0}:数据
        //tooltip:
        //    {
        //    trigger: 'item',
        //            padding: 40,
        //            textStyle:
        //        {
        //        fontSize: 38,
        //            },
        //            show: true,
        //            trigger: 'item',
        //            position:['1%', '1%']
        //        },
#if __IOS__
            return @"{
                tooltip: {
                    trigger: 'item',
                    padding:40,
                    textStyle:{
                        fontSize :38,
                    },
                },
                series : [
                 {
                    right: '55%',
                    bottom:'55%',
                    right: '54%',
                    bottom:'54%',
                    labelLine: false,
                    type: 'pie',
                    data:[
@@ -69,14 +75,12 @@
            }";
#else
return @"{
                tooltip: {
                    trigger: 'item',
                },
                series : [
                 {
                    right: '54%',
                    bottom:'54%',
                    labelLine: false,
                    type: 'pie',
                    radius: '25%',
                    data:[
                       {0}
                     ],
@@ -94,7 +98,6 @@
                   }
                   ]
            }";
#endif
        }