/*
         * EXPORT FOR BUBBLE
         */
        public BubbleChartData ExportBubbleData(Widget.Charts.Models.BubbleChart.BubbleChartData bubbleChartData)
        {
            var dataSetItems = new List <BubbleChartDataSet>();

            foreach (var item in bubbleChartData.DataSets)
            {
                var entryOriginal = item.IF_GetValues().Select(obj => new BubbleChartDataEntry(obj.GetXPosition(), obj.GetYPosition(), obj.GetSize()));
                var dataSet       = new BubbleChartDataSet(entryOriginal.ToArray(), item.IF_GetLabel());
                OnIntializeDataSetBubble(item, dataSet);
                dataSetItems.Add(dataSet);
            }
            var data = new BubbleChartData(dataSetItems.ToArray());

            return(data);
        }
        private void OnIntializeDataSetBubble(UltimateXF.Widget.Charts.Models.BubbleChart.IBubbleDataSet source, BubbleChartDataSet original)
        {
            /*
             * Properties could not setting
             * IF_GetMaxSize
             */
            OnSettingsBarLineScatterCandleBubbleDataSet(source, original);

            if (source.IF_GetNormalizeSize().HasValue)
            {
                original.NormalizeSizeEnabled = (source.IF_GetNormalizeSize().Value);
            }

            if (source.IF_GetHighlightCircleWidth().HasValue)
            {
                original.HighlightCircleWidth = (source.IF_GetHighlightCircleWidth().Value);
            }
        }