section_data_elements.py 1.1 KB

12345678910111213141516171819202122232425262728
  1. from nicegui import optional_features
  2. from . import (aggrid_documentation, circular_progress_documentation, code_documentation, doc, echart_documentation,
  3. editor_documentation, highchart_documentation, json_editor_documentation, line_plot_documentation,
  4. linear_progress_documentation, log_documentation, plotly_documentation, pyplot_documentation,
  5. scene_documentation, spinner_documentation, table_documentation, tree_documentation)
  6. doc.title('*Data* Elements')
  7. doc.intro(table_documentation)
  8. doc.intro(aggrid_documentation)
  9. if optional_features.has('highcharts'):
  10. doc.intro(highchart_documentation)
  11. doc.intro(echart_documentation)
  12. if optional_features.has('matplotlib'):
  13. doc.intro(pyplot_documentation)
  14. doc.intro(line_plot_documentation)
  15. if optional_features.has('plotly'):
  16. doc.intro(plotly_documentation)
  17. doc.intro(linear_progress_documentation)
  18. doc.intro(circular_progress_documentation)
  19. doc.intro(spinner_documentation)
  20. doc.intro(scene_documentation)
  21. doc.intro(tree_documentation)
  22. doc.intro(log_documentation)
  23. doc.intro(editor_documentation)
  24. doc.intro(code_documentation)
  25. doc.intro(json_editor_documentation)