| Electronic Components Datasheet Search |
|
AN3128 Datasheet(PDF) 46 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3128 Datasheet(HTML) 46 Page - STMicroelectronics |
|
46 / 105 page ![]() Multi-input embedded GUI library firmware AN3128 46/105 Doc ID 16918 Rev 5 4.1.24 SetHistogramPoints API global function Table 29 describes the SetHistogramPoints function: Example: /* Declares and initiates a Page Object */ GL_Page_TypeDef page1; Create_PageObj( &page1 ); /* Declares and initiates a Histogram Object and add it to a Page Object */ MyHistogram = NewHistogram ("MyHistogram", "Hours", "Watt", points, 24); AddPageControlObj( 0, 0, MyHistogram, &page1 ); ... MyHistogramPoints ={1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24}; SetHistogramPoints( &page1, "MyHistogram", MyHistogramPoints, 24 ); Figure 14, 15, 16, show, in detail, the histogram object properties and methods which the final application can use to interact with. 4.1.25 SetGraphChartPoints API global function Table 30 describes the SetGraphChartPoints function: Table 29. SetHistogramPoints API function Name Description Function name SetHistogramPoints Function prototype GL_ErrStatus SetHistogramPoints(GL_Page_TypeDef* pPage,char* objName,int16_tdata_points[],GL_uint8_t n_points) Behavior description Modify the points array of the histogram object Input parameter {x} *pPage: pointer to page structure objName: name of the object data_points[]: the array of points to be plotted on the LCD n_points: number of points to be plotted Output parameter {x} None Return value GL_OK if successful, GL_ERROR otherwise Required preconditions None Called functions No API/HAL layer functions Table 30. SetGraphChartPoints API function Name Description Function name SetGraphChartPoints Function prototype GL_ErrStatus SetGraphChartPoints(GL_Page_TypeDef* pPage,char* objName,int16_tdata_points[],GL_uint8_t n_points); Behavior description Modify the points array of the GraphChart object |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |