IOS-based pie chart drawing method and system

The invention provides an IOS-based pie chart drawing method and system, and the method comprises the steps: obtaining statistical data, and converting the statistical data into a data model; creating a pie chart container based on the data model; determining the position and size of a pie chart to...

Full description

Saved in:
Bibliographic Details
Main Author BO DAWEI
Format Patent
LanguageChinese
English
Published 01.11.2022
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:The invention provides an IOS-based pie chart drawing method and system, and the method comprises the steps: obtaining statistical data, and converting the statistical data into a data model; creating a pie chart container based on the data model; determining the position and size of a pie chart to be drawn according to the size information of the display interface; and drawing each sector based on the data model, the pie chart container and the position and size of the pie chart to be drawn, drawing a guide line and guide information corresponding to each sector, and enabling the guide lines and the guide information corresponding to every two sectors not to be overlapped to obtain the pie chart. In the embodiment of the invention, the optimal size to be displayed is automatically calculated according to the size information of the display interface, and on the basis, the corresponding sectors and the guide lines and the guide information corresponding to the sectors are drawn through the data model and the
Bibliography:Application Number: CN202210938759