| {"text": "# Display df_selection in an expandable\n<|Sales Table|expandable|expanded=False|"} | |
| {"text": "# Create a Generate text button\n<|Generate text|button|on_action=generate_text|label=Generate text|>"} | |
| {"text": "# Create a text input for the tweet\n<|{tweet}|input|multiline|label=Resulting tweet|class_name=fullwidth|>"} | |
| {"text": "# Break line\n<br/>"} | |
| {"text": "# Display image\n<center><|{image}|image|height=400px|></center>"} | |
| {"text": "# Display image from path\n<|{path}|image|width=500px|height=500px|class_name=img|>"} | |
| {"text": "# Create a slider to select iterations\n<|{iterations}|slider|min=10|max=50|continuous=False|on_change=generate|>"} | |
| {"text": "# Slider dx_start\n<|{dx_start}|slider|min=0|max=100|continuous=False|on_change=generate|>"} | |
| {"text": "# Create a toggle button\n<|{value}|toggle|lov=Item 1;Item 2;Item 3|>"} | |
| {"text": "# Create a dropdown to select between A B and C\n<|{value}|selector|lov=A;B;C|dropdown|>"} | |
| {"text": "# Create a date selector\n<|{dt}|date|>"} | |
| {"text": "# Date selection\n<|{dt}|date|>"} | |
| {"text": "# Create a gauge to visualize val\n<|message|indicator|value={val}|min=0|max=100|>"} | |
| {"text": "# Create and register a page:\nfrom taipy import Gui\nGui(\"# This is my page title\")"} | |
| {"text": "# Create a page variable and register it:\nmd = \"# This is my page title\"\nGui(md)"} | |
| {"text": "# Create 2 pages and register them:\npages = {\n 'page1': Markdown(\"# My first page\"),\n 'page2': Markdown(\"# My second page\")\n}\nGui(pages=pages)"} | |
| {"text": "# Create a multi-page application:\nfrom taipy import Gui\n\n root_md=\"# Multi-page application\"\n page1_md=\"# This is page 1\"\n page2_md=\"# This is page 2\"\n\n pages = {\n \"/\": root_md,\n \"page1\": page1_md,\n \"page2\": page2_md\n }\n Gui(pages=pages).run()"} | |
| {"text": "# Create a multi-page application with content placeholder:\n from taipy import Gui\n\n root_md=\"\"\"#\n Multi-page application\n\n\n This application was created with [Taipy](http://taipy.avaiga.com).\n \"\"\"\n page1_md=\"# This is page 1\"\n page2_md=\"# This is page 2\"\n\n pages = {\n \"/\": root_md,\n \"page1\": page1_md,\n \"page2\": page2_md\n }\n Gui(pages=pages).run()"} | |
| {"text": "# Create a dialog in Markdown content:\n page=\"\"\"\n <|{dialog_is_visible}|dialog|\n Enter a name:\n <|{name}|input|>\n |>\"\"\"\n Gui(page).run()"} | |
| {"text": "# Create a partial page:\n gui = Gui()\n prompt_user = gui.add_partial(\n \"\"\"\n Enter a name:\n <|{name}|input|>\n \"\"\"\n )\n gui.run()"} | |
| {"text": "# Display a value:\n<|{value}|>"} | |
| {"text": "# Format the value with 2 decimal places:\n<|{value}|text|format=%.2f|>"} | |
| {"text": "# Create a button with Button Label:\n<|Button Label|button|>"} | |
| {"text": "# Create a Save button:\n<|Button Label|button|>"} | |
| {"text": "# Create a Cancel button and button_action_function_name:\n<|Cancel|button|on_action=button_action_function_name|>"} | |
| {"text": "# Create a Cancel button with cancel function:\n<|Cancel|button|on_action=cancel|>"} | |
| {"text": "# Create input field for name:\n<|{name}|input|>"} | |
| {"text": "# Create input field for address:\n<|{address}|input|>"} | |
| {"text": "# Create number field for age:\n<|{age}|number|>"} | |
| {"text": "# Create a slider for value between 1 and 10:\n<|{value}|slider|min=1|max=10|>"} | |
| {"text": "# Create a list of toggle buttons for Item 1, Item 2, Item 3:\n<|{value}|toggle|lov=Item 1;Item 2;Item 3|>"} | |
| {"text": "# Create a toggle control that lets you pick a specific user:\n<|{user_sel}|toggle|lov={users}|type=User|adapter={lambda u: (u.id, u.name)}|>"} | |
| {"text": "# Create a date selector:\n<|{dt}|date|>"} | |
| {"text": "# Create a date selector without time:\n<|{dt}|date|not with_time|>"} | |
| {"text": "# Create a date selector with only date:\n<|{dt}|date|not with_time|>"} | |
| {"text": "# Create a file download:\n<|{content}|file_download|>"} | |
| {"text": "# Create a file download with action:\n<|{content}|file_download|label=Download File|on_action=function_name|name=filename|>"} | |
| {"text": "# Create a file download with no review:\n<|{content}|file_download|bypass_preview=False|>"} | |
| {"text": "# Create a auto download file download:\n<|{content}|file_download|auto|>"} | |
| {"text": "# Create a file selector:\n<|{content}|file_selector|>"} | |
| {"text": "# Create a file selector with label and action:\n<|{content}|file_selector|label=Download File|on_action=function_name|extensions=.csv,.xlsx|drop_message=Drop Message|>"} | |
| {"text": "# Create a multiple file uploader:\n<|{content}|file_selector|multiple|>"} | |
| {"text": "# Show an image:\n<|{content}|image|>"} | |
| {"text": "# Show an image with label and callback:\n<|{content}|image|label=this is an image|on_action=function_name|>"} | |
| {"text": "# Shows a message at a specified position between min and max:\n<|message|indicator|value={val}|min=0|max=100|>"} | |
| {"text": "# Defining a simple static menu:\n<|menu|lov=menu 1;menu 2|>"} | |
| {"text": "# Prevent status dismiss:\n<|{value}|status|without_close|>"} | |
| {"text": "# Show a table:\n<|{data}|table|>"} | |
| {"text": "# Dialog with page:\n<|{show_dialog}|dialog|page=page_name|>"} | |
| {"text": "# Display a list of string:\n<|{value}|tree|lov=Item 1;Item 2;Item 3|>"} | |
| {"text": "# Grouping controls:\n<|\n <|{Some Content}|>\n|>"} | |
| {"text": "# Content as block:\n<|Title|expandable|\n <|{some content}|>\n|>"} | |
| {"text": "# Default layout:\n<|layout|\n <|{some content}|>\n|>"} | |
| {"text": "# Pane with page:\n<|{show}|pane|page=page_name|>"} | |
| {"text": "# Display df_display in an expandable\n<|Display Table|expandable|expanded=False|"} | |
| {"text": "# Create a Analyze button\n<|Analyze|button|on_action=analyze_data|label=Analyze|>"} | |
| {"text": "# Create a text input for the note\n<|{note}|input|multiline|label=Note|class_name=fullwidth|>"} | |
| {"text": "# Insert a line break\n<br/>"} | |
| {"text": "# Display plot\n<center><|{plot}|image|height=400px|></center>"} | |
| {"text": "# Display plot from file location\n<|{file_location}|image|width=500px|height=500px|class_name=img|>"} | |
| {"text": "# Create a slider to adjust volume\n<|{volume}|slider|min=0|max=100|continuous=False|on_change=adjust_volume|>"} | |
| {"text": "# Slider dx_threshold\n<|{dx_threshold}|slider|min=0|max=10|continuous=False|on_change=update_threshold|>"} | |
| {"text": "# Create a toggle button\n<|{is_enabled}|toggle|lov=Off;On|>"} | |
| {"text": "# Create a dropdown to select between Option X, Option Y, and Option Z\n<|{option}|selector|lov=Option X;Option Y;Option Z|dropdown|>"} | |
| {"text": "# Create a date picker\n<|{selected_date}|date|>" | |
| {"text": "# Date picker\n<|{selected_date}|date|>" | |
| {"text": "# Create a gauge to visualize value\n<|status|indicator|value={progress}|min=0|max=100|>"} | |
| {"text": "# Create and initialize a page:\nfrom taipy import Gui\nGui("# My Dashboard")"} | |
| {"text": "# Define a page variable and initialize it:\nmd_content = "# My Dashboard"\nGui(md_content)"} | |
| {"text": "# Define 2 pages and set them up:\ncontent_pages = {\n 'overview': Markdown("# Overview"),\n 'details': Markdown("# Details")\n}\nGui(pages=content_pages)"} | |
| {"text": "# Set up a multi-page application:\nfrom taipy import Gui\n\n root_content="# Welcome to the App"\n page1_content="# Page 1"\n page2_content="# Page 2"\n\n pages_dict = {\n "/": root_content,\n "page1": page1_content,\n "page2": page2_content\n }\n Gui(pages=pages_dict).run()"} | |
| {"text": "# Set up a multi-page application with content placeholder:\n from taipy import Gui\n\n root_content="""#\n Multi-page application\n\n\n This app was built using Taipy.\n """\n page1_content="# Page 1"\n page2_content="# Page 2"\n\n pages_dict = {\n "/": root_content,\n "page1": page1_content,\n "page2": page2_content\n }\n Gui(pages=pages_dict).run()"} | |
| {"text": "# Create a dialog with Markdown content:\n dialog_content="""\n <|{is_visible}|dialog|\n Please enter your name:\n <|{user_name}|input|>\n |>"""\n Gui(dialog_content).run()"} | |
| {"text": "# Set up a partial page:\n gui_instance = Gui()\n user_prompt = gui_instance.add_partial(\n """\n Please enter your name:\n <|{user_name}|input|>\n """\n )\n gui_instance.run()"} | |
| {"text": "# Display a calculated result:\n<|{result}|>"} | |
| {"text": "# Format the value with 2 decimal points:\n<|{value}|text|format=%.2f|>"} | |
| {"text": "# Create a button with the label 'Click Me':\n<|Click Me|button|>"} | |
| {"text": "# Create a Save button:\n<|Save|button|>"} | |
| {"text": "# Create a Cancel button and set the action function name:\n<|Cancel|button|on_action=cancel_action_function|>"} | |
| {"text": "# Create a Cancel button with cancel_handler function:\n<|Cancel|button|on_action=cancel_handler|>"} | |
| {"text": "# Create an input field for username:\n<|{username}|input|>"} | |
| {"text": "# Create an input field for location:\n<|{location}|input|>"} | |
| {"text": "# Create a numeric field for age:\n<|{age}|number|>"} | |
| {"text": "# Create a slider for value between 1 and 10:\n<|{rating}|slider|min=1|max=10|>"} | |
| {"text": "# Create a set of toggle buttons for Option 1, Option 2, Option 3:\n<|{choice}|toggle|lov=Option 1;Option 2;Option 3|>"} | |
| {"text": "# Create a toggle control to select a specific category:\n<|{category_sel}|toggle|lov={categories}|type=Category|adapter={lambda c: (c.id, c.name)}|>"} | |
| {"text": "# Create a date picker:\n<|{event_date}|date|>"} | |
| {"text": "# Create a date picker without time:\n<|{event_date}|date|not with_time|>"} | |
| {"text": "# Create a date picker with only date:\n<|{event_date}|date|not with_time|>"} | |
| {"text": "# Create a file download link:\n<|{document}|file_download|>"} | |
| {"text": "# Create a file download link with action:\n<|{document}|file_download|label=Download Document|on_action=download_file|name=file_name|>"} | |
| {"text": "# Create a file download link without preview:\n<|{document}|file_download|bypass_preview=False|>"} | |
| {"text": "# Create an auto download file link:\n<|{document}|file_download|auto|>"} | |
| {"text": "# Create a file selector:\n<|{selected_file}|file_selector|>"} | |
| {"text": "# Create a file selector with label and action:\n<|{selected_file}|file_selector|label=Select File|on_action=file_selected|extensions=.csv,.xlsx|drop_message=Drop file here|>"} | |
| {"text": "# Create a multiple file uploader:\n<|{selected_files}|file_selector|multiple|>"} | |
| {"text": "# Show an illustration:\n<|{illustration}|image|>"} | |
| {"text": "# Show an image with description and callback:\n<|{picture}|image|label=This is a picture|on_action=image_clicked|>"} | |
| {"text": "# Display a message at a specified position between min and max:\n<|status|indicator|value={percentage}|min=0|max=100|>"} | |
| {"text": "# Define a basic static menu:\n<|menu|lov=menu_item1;menu_item2|>"} | |
| {"text": "# Display df_results in an expandable\n<|Results Table|expandable|expanded=False|"} | |
| {"text": "# Create a Generate summary button\n<|Generate summary|button|on_action=generate_summary|label=Generate summary|>"} | |
| {"text": "# Create a text input for the article\n<|{article}|input|multiline|label=Resulting article|class_name=fullwidth|>"} | |
| {"text": "# Insert a line break\n<br/>"} | |
| {"text": "# Display chart\n<center><|{chart}|image|height=400px|></center>"} | |
| {"text": "# Display chart from file path\n<|{file_path}|image|width=500px|height=500px|class_name=img|>"} | |
| {"text": "# Create a slider to adjust zoom level\n<|{zoom_level}|slider|min=1|max=5|continuous=False|on_change=adjust_zoom|>"} | |
| {"text": "# Slider dx_threshold\n<|{dx_threshold}|slider|min=0|max=10|continuous=False|on_change=update_threshold|>"} | |
| {"text": "# Create a toggle switch\n<|{state}|toggle|lov=Off;On;Auto|>"} | |
| {"text": "# Create a dropdown to select between X, Y, and Z\n<|{axis}|selector|lov=X;Y;Z|dropdown|>"} | |
| {"text": "# Create a date picker\n<|{selected_date}|date|>" | |
| {"text": "# Date picker\n<|{selected_date}|date|>" | |
| {"text": "# Create a gauge to visualize value\n<|status|indicator|value={progress}|min=0|max=100|>"} | |
| {"text": "# Create and initialize a page:\nfrom taipy import Gui\nGui("# My Page Title")"} | |
| {"text": "# Define a page variable and initialize it:\nmd_content = "# My Page Title"\nGui(md_content)"} | |
| {"text": "# Define 2 pages and set them up:\ncontent_pages = {\n 'first_page': Markdown("# Introduction"),\n 'second_page': Markdown("# Advanced Topics")\n}\nGui(pages=content_pages)"} | |
| {"text": "# Set up a multi-page application:\nfrom taipy import Gui\n\n root_content="# Welcome to the App"\n page1_content="# This is Page 1"\n page2_content="# This is Page 2"\n\n pages_dict = {\n "/": root_content,\n "page1": page1_content,\n "page2": page2_content\n }\n Gui(pages=pages_dict).run()"} | |
| {"text": "# Set up a multi-page application with content placeholder:\n from taipy import Gui\n\n root_content="""#\n Multi-page application\n\n\n This app was built using Taipy.\n """\n page1_content="# Page 1"\n page2_content="# Page 2"\n\n pages_dict = {\n "/": root_content,\n "page1": page1_content,\n "page2": page2_content\n }\n Gui(pages=pages_dict).run()"} | |
| {"text": "# Create a dialog with Markdown content:\n dialog_content="""\n <|{is_visible}|dialog|\n Please enter your name:\n <|{user_name}|input|>\n |>"""\n Gui(dialog_content).run()"} | |
| {"text": "# Set up a partial page:\n gui_instance = Gui()\n user_prompt = gui_instance.add_partial(\n """\n Please enter your name:\n <|{user_name}|input|>\n """\n )\n gui_instance.run()"} | |
| {"text": "# Display a calculated result:\n<|{result}|>"} | |
| {"text": "# Format the value with 2 decimal points:\n<|{value}|text|format=%.2f|>"} | |
| {"text": "# Create a button with the label 'Click Me':\n<|Click Me|button|>"} | |
| {"text": "# Create a Save button:\n<|Save|button|>"} | |
| {"text": "# Create a Cancel button and set the action function name:\n<|Cancel|button|on_action=cancel_action_function|>"} | |
| {"text": "# Create a Cancel button with cancel_handler function:\n<|Cancel|button|on_action=cancel_handler|>"} | |
| {"text": "# Create an input field for username:\n<|{username}|input|>"} | |
| {"text": "# Create an input field for location:\n<|{location}|input|>"} | |
| {"text": "# Create a numeric field for age:\n<|{age}|number|>"} | |
| {"text": "# Create a slider for value between 1 and 10:\n<|{rating}|slider|min=1|max=10|>"} | |
| {"text": "# Create a set of toggle buttons for Option 1, Option 2, Option 3:\n<|{choice}|toggle|lov=Option 1;Option 2;Option 3|>"} | |
| {"text": "# Create a toggle control to select a specific category:\n<|{category_sel}|toggle|lov={categories}|type=Category|adapter={lambda c: (c.id, c.name)}|>"} | |
| {"text": "# Create a date picker:\n<|{event_date}|date|>"} | |
| {"text": "# Create a date picker without time:\n<|{event_date}|date|not with_time|>"} | |
| {"text": "# Create a date picker with only date:\n<|{event_date}|date|not with_time|>"} | |
| {"text": "# Create a file download link:\n<|{document}|file_download|>"} | |
| {"text": "# Create a file download link with action:\n<|{document}|file_download|label=Download Document|on_action=download_file|name=file_name|>"} | |
| {"text": "# Create a file download link without preview:\n<|{document}|file_download|bypass_preview=False|>"} | |
| {"text": "# Create an auto download file link:\n<|{document}|file_download|auto|>"} | |
| {"text": "# Create a file selector:\n<|{selected_file}|file_selector|>"} | |
| {"text": "# Create a file selector with label and action:\n<|{selected_file}|file_selector|label=Select File|on_action=file_selected|extensions=.csv,.xlsx|drop_message=Drop file here|>"} | |
| {"text": "# Create a multiple file uploader:\n<|{selected_files}|file_selector|multiple|>"} | |
| {"text": "# Show an illustration:\n<|{illustration}|image|>"} | |
| {"text": "# Show an image with description and callback:\n<|{picture}|image|label=This is a picture|on_action=image_clicked|>"} | |
| {"text": "# Display a message at a specified position between min and max:\n<|status|indicator|value={percentage}|min=0|max=100|>"} | |
| {"text": "# Define a basic static menu:\n<|menu|lov=menu_item1;menu_item2|>"} | |
| {"text": "# Display df_output in an expandable\n<|Output Table|expandable|expanded=False|"} | |
| {"text": "# Create a Visualize button\n<|Visualize|button|on_action=visualize_data|label=Visualize|>"} | |
| {"text": "# Create a text input for the description\n<|{description}|input|multiline|label=Description|class_name=fullwidth|>"} | |
| {"text": "# Insert a line break\n<br/>"} | |
| {"text": "# Display diagram\n<center><|{diagram}|image|height=400px|></center>"} | |
| {"text": "# Display diagram from file path\n<|{diagram_path}|image|width=500px|height=500px|class_name=img|>"} | |
| {"text": "# Create a slider to adjust brightness\n<|{brightness}|slider|min=0|max=100|continuous=False|on_change=adjust_brightness|>"} | |
| {"text": "# Slider threshold\n<|{threshold}|slider|min=0|max=10|continuous=False|on_change=update_threshold|>"} | |
| {"text": "# Create a toggle button\n<|{is_enabled}|toggle|lov=Off;On|>"} | |
| {"text": "# Create a dropdown to select between Choice A, Choice B, and Choice C\n<|{choice}|selector|lov=Choice A;Choice B;Choice C|dropdown|>"} | |
| {"text": "# Create a date picker\n<|{selected_date}|date|>" | |
| {"text": "# Date picker\n<|{selected_date}|date|>" | |
| {"text": "# Create a gauge to visualize value\n<|status|indicator|value={progress}|min=0|max=100|>"} | |
| {"text": "# Create and initialize a page:\nfrom taipy import Gui\nGui("# Dashboard")"} | |
| {"text": "# Define a page variable and initialize it:\nmd_content = "# Dashboard"\nGui(md_content)"} | |
| {"text": "# Define 2 pages and set them up:\ncontent_pages = {\n 'overview': Markdown("# Overview"),\n 'details': Markdown("# Details")\n}\nGui(pages=content_pages)"} | |
| {"text": "# Set up a multi-page application:\nfrom taipy import Gui\n\n root_content="# Welcome to the App"\n page1_content="# Page 1"\n page2_content="# Page 2"\n\n pages_dict = {\n "/": root_content,\n "page1": page1_content,\n "page2": page2_content\n }\n Gui(pages=pages_dict).run()"} | |
| {"text": "# Set up a multi-page application with content placeholder:\n from taipy import Gui\n\n root_content="""#\n Multi-page application\n\n\n This app was built using Taipy.\n """\n page1_content="# Page 1"\n page2_content="# Page 2"\n\n pages_dict = {\n "/": root_content,\n "page1": page1_content,\n "page2": page2_content\n }\n Gui(pages=pages_dict).run()"} | |
| {"text": "# Create a dialog with Markdown content:\n dialog_content="""\n <|{is_visible}|dialog|\n Please enter your name:\n <|{user_name}|input|>\n |>"""\n Gui(dialog_content).run()"} | |
| {"text": "# Set up a partial page:\n gui_instance = Gui()\n user_prompt = gui_instance.add_partial(\n """\n Please enter your name:\n <|{user_name}|input|>\n """\n )\n gui_instance.run()"} | |
| {"text": "# Display a calculated result:\n<|{result}|>"} | |
| {"text": "# Format the value with 2 decimal points:\n<|{value}|text|format=%.2f|>"} | |
| {"text": "# Create a button with the label 'Click Me':\n<|Click Me|button|>"} | |
| {"text": "# Create a Save button:\n<|Save|button|>"} | |
| {"text": "# Create a Cancel button and set the action function name:\n<|Cancel|button|on_action=cancel_action_function|>"} | |
| {"text": "# Create a Cancel button with cancel_handler function:\n<|Cancel|button|on_action=cancel_handler|>"} | |
| {"text": "# Create an input field for username:\n<|{username}|input|>"} | |
| {"text": "# Create an input field for location:\n<|{location}|input|>"} | |
| {"text": "# Create a numeric field for age:\n<|{age}|number|>"} | |
| {"text": "# Create a slider for value between 1 and 10:\n<|{rating}|slider|min=1|max=10|>"} | |
| {"text": "# Create a set of toggle buttons for Option 1, Option 2, Option 3:\n<|{choice}|toggle|lov=Option 1;Option 2;Option 3|>"} | |
| {"text": "# Create a toggle control to select a specific category:\n<|{category_sel}|toggle|lov={categories}|type=Category|adapter={lambda c: (c.id, c.name)}|>"} | |
| {"text": "# Create a date picker:\n<|{event_date}|date|>"} | |
| {"text": "# Create a date picker without time:\n<|{event_date}|date|not with_time|>"} | |
| {"text": "# Create a date picker with only date:\n<|{event_date}|date|not with_time|>"} | |
| {"text": "# Create a file download link:\n<|{document}|file_download|>"} | |
| {"text": "# Create a file download link with action:\n<|{document}|file_download|label=Download Document|on_action=download_file|name=file_name|>"} | |
| {"text": "# Create a file download link without preview:\n<|{document}|file_download|bypass_preview=False|>"} | |
| {"text": "# Create an auto download file link:\n<|{document}|file_download|auto|>"} | |
| {"text": "# Create a file selector:\n<|{selected_file}|file_selector|>"} | |
| {"text": "# Create a file selector with label and action:\n<|{selected_file}|file_selector|label=Select File|on_action=file_selected|extensions=.csv,.xlsx|drop_message=Drop file here|>"} | |
| {"text": "# Create a multiple file uploader:\n<|{selected_files}|file_selector|multiple|>"} | |
| {"text": "# Show an illustration:\n<|{illustration}|image|>"} | |
| {"text": "# Show an image with description and callback:\n<|{picture}|image|label=This is a picture|on_action=image_clicked|>"} | |
| {"text": "# Display a message at a specified position between min and max:\n<|status|indicator|value={percentage}|min=0|max=100|>"} | |
| {"text": "# Define a basic static menu:\n<|menu|lov=menu_item1;menu_item2|>"} | |
| {"text": "# Display df_display in an expandable\n<|Display Data|expandable|expanded=False|"} | |
| {"text": "# Create an Explore button\n<|Explore|button|on_action=explore_data|label=Explore|>"} | |
| {"text": "# Create a text input for the notes\n<|{notes}|input|multiline|label=Notes|class_name=fullwidth|>"} | |
| {"text": "# Insert a line break\n<br/>"} | |
| {"text": "# Display visualization\n<center><|{visualization}|image|height=400px|></center>"} | |
| {"text": "# Display visualization from file path\n<|{file_path}|image|width=500px|height=500px|class_name=img|>"} | |
| {"text": "# Create a slider to adjust contrast\n<|{contrast}|slider|min=0|max=100|continuous=False|on_change=adjust_contrast|>"} | |
| {"text": "# Slider threshold\n<|{threshold}|slider|min=0|max=10|continuous=False|on_change=update_threshold|>"} | |
| {"text": "# Create a toggle button\n<|{is_enabled}|toggle|lov=Off;On|>"} | |
| {"text": "# Create a dropdown to select between Option X, Option Y, and Option Z\n<|{option}|selector|lov=Option X;Option Y;Option Z|dropdown|>"} | |
| {"text": "# Create a date picker\n<|{selected_date}|date|>" | |
| {"text": "# Date picker\n<|{selected_date}|date|>" | |
| {"text": "# Create a gauge to visualize value\n<|status|indicator|value={progress}|min=0|max=100|>"} | |
| {"text": "# Create and initialize a page:\nfrom taipy import Gui\nGui("# Data Overview")"} | |
| {"text": "# Define a page variable and initialize it:\nmd_content = "# Data Overview"\nGui(md_content)"} | |
| {"text": "# Define 2 pages and set them up:\ncontent_pages = {\n 'overview': Markdown("# Overview"),\n 'details': Markdown("# Details")\n}\nGui(pages=content_pages)"} | |
| {"text": "# Set up a multi-page application:\nfrom taipy import Gui\n\n root_content="# Welcome to the App"\n page1_content="# Page 1"\n page2_content="# Page 2"\n\n pages_dict = {\n "/": root_content,\n "page1": page1_content,\n "page2": page2_content\n }\n Gui(pages=pages_dict).run()"} | |
| {"text": "# Set up a multi-page application with content placeholder:\n from taipy import Gui\n\n root_content="""#\n Multi-page application\n\n\n This app was built using Taipy.\n """\n page1_content="# Page 1"\n page2_content="# Page 2"\n\n pages_dict = {\n "/": root_content,\n "page1": page1_content,\n "page2": page2_content\n }\n Gui(pages=pages_dict).run()"} | |
| {"text": "# Create a dialog with Markdown content:\n dialog_content="""\n <|{is_visible}|dialog|\n Please enter your name:\n <|{user_name}|input|>\n |>"""\n Gui(dialog_content).run()"} | |
| {"text": "# Set up a partial page:\n gui_instance = Gui()\n user_prompt = gui_instance.add_partial(\n """\n Please enter your name:\n <|{user_name}|input|>\n """\n )\n gui_instance.run()"} | |
| {"text": "# Display a calculated result:\n<|{result}|>"} | |
| {"text": "# Format the value with 2 decimal points:\n<|{value}|text|format=%.2f|>"} | |
| {"text": "# Create a button with the label 'Click Me':\n<|Click Me|button|>"} | |
| {"text": "# Create a Save button:\n<|Save|button|>"} | |
| {"text": "# Create a Cancel button and set the action function name:\n<|Cancel|button|on_action=cancel_action_function|>"} | |
| {"text": "# Create a Cancel button with cancel_handler function:\n<|Cancel|button|on_action=cancel_handler|>"} | |
| {"text": "# Create an input field for username:\n<|{username}|input|>"} | |
| {"text": "# Create an input field for location:\n<|{location}|input|>"} | |
| {"text": "# Create a numeric field for age:\n<|{age}|number|>"} | |
| {"text": "# Create a slider for value between 1 and 10:\n<|{rating}|slider|min=1|max=10|>"} | |
| {"text": "# Create a set of toggle buttons for Option 1, Option 2, Option 3:\n<|{choice}|toggle|lov=Option 1;Option 2;Option 3|>"} | |
| {"text": "# Create a toggle control to select a specific category:\n<|{category_sel}|toggle|lov={categories}|type=Category|adapter={lambda c: (c.id, c.name)}|>"} | |
| {"text": "# Create a date picker:\n<|{event_date}|date|>"} | |
| {"text": "# Create a date picker without time:\n<|{event_date}|date|not with_time|>"} | |
| {"text": "# Create a date picker with only date:\n<|{event_date}|date|not with_time|>"} | |
| {"text": "# Create a file download link:\n<|{document}|file_download|>"} | |
| {"text": "# Create a file download link with action:\n<|{document}|file_download|label=Download Document|on_action=download_file|name=file_name|>"} | |
| {"text": "# Create a file download link without preview:\n<|{document}|file_download|bypass_preview=False|>"} | |
| {"text": "# Create an auto download file link:\n<|{document}|file_download|auto|>"} | |
| {"text": "# Create a file selector:\n<|{selected_file}|file_selector|>"} | |
| {"text": "# Create a file selector with label and action:\n<|{selected_file}|file_selector|label=Select File|on_action=file_selected|extensions=.csv,.xlsx|drop_message=Drop file here|>"} | |
| {"text": "# Create a multiple file uploader:\n<|{selected_files}|file_selector|multiple|>"} | |
| {"text": "# Show an illustration:\n<|{illustration}|image|>"} | |
| {"text": "# Show an image with description and callback:\n<|{picture}|image|label=This is a picture|on_action=image_clicked|>"} | |
| {"text": "# Display a message at a specified position between min and max:\n<|status|indicator|value={percentage}|min=0|max=100|>"} | |
| {"text": "# Define a basic static menu:\n<|menu|lov=menu_item1;menu_item2|>"} | |
| {"text": "# Plot Sales according to Date in a line chart:\n<|{data}|chart|type=lines|x=DATE|y=SALES|>"} | |
| {"text": "# Plot Sales according to Date in a line chart titled \"Sales according to Revenue\":\n<|{data}|chart|type=lines|x=DATE|x=SALES|title=SALES according to Revenue|>"} | |
| {"text": "# Plot Sales and Revenue according to Date:\n<|{data}|chart|type=lines|x=DATE|y[1]=SALES|y[2]=REVENUE|>"} | |
| {"text": "# Plot Sales according to Date on a Dashed line:\n<|{data}|chart|type=lines|x=DATE|x=SALES|line=dash|>"} | |
| {"text": "# Plot Revenue by Date on a dotted line:\n<|{data}|chart|type=lines|x=DATE|x=SALES|line=dot|>"} | |
| {"text": "# Plot Sales by Date in Red:\n<|{data}|chart|type=lines|x=DATE|x=SALES|color=Red|>"} | |
| {"text": "# Plot Revenue according to Date in yellow:\n<|{data}|chart|type=lines|x=DATE|x=SALES|color=Yellow|>"} | |
| {"text": "# Plot Revenue according to Date in yellow titled Revenue Plot:\n<|{data}|chart|type=lines|x=DATE|x=SALES|color=Yellow|title=REVENUE Plot>"} | |
| {"text": "# Plot Sales in blue and Revenue in green according to Date:\n<|{data}|chart|type=lines|x=DATE|y[1]=SALES|y[2]=REVENUE|color[1]=blue|color[2]=green|>"} | |
| {"text": "# Plot Revenue by Date in a red dashed line and Sales in a yellow Dotted line:\n<|{data}|chart|type=lines|x=DATE|y[1]=REVENUE|y[2]=SALES|line[1]=dash|line[2]=dot|color[1]=red|color[2]=yellow|>"} | |
| {"text": "# Display Date according to Sales:\n<|{data}|chart|type=lines|x=DATE|x=SALES|>"} | |
| {"text": "# Plot in a bar chart the Sales according to Date:\n<|{data}|chart|type=bar|x=DATE|x=SALES|>"} | |
| {"text": "# Plot in a bar chart the Sales according to Date and Revenue according to Date:\n<|{data}|chart|type=bar|x=DATE|y[1]=SALES|y[2]=REVENUE|>"} | |
| {"text": "# Plot Sales and Revenue by Date in a bar chart:\n<|{data}|chart|type=bar|x=DATE|y[1]=SALES|y[2]=REVENUE|>"} | |
| {"text": "# Plot in a bar chart the Sales according to Date and Revenue according to Date titled Finance:\n<|{data}|chart|type=bar|x=DATE|y[1]=SALES|y[2]=REVENUE|title=Finance|>"} | |
| {"text": "# Plot in a scatter plot Sales according to Date:\n<|{data}|chart|type=scatter|mode=markers|x=DATE|x=SALES|>"} | |
| {"text": "# Draw Sales and Revenue by Date in a scatter plot:\n<|{data}|chart|type=scatter|mode=markers|x=DATE|y[1]=SALES|y[2]=REVENUE|>"} | |
| {"text": "# Plot Revenue in green points and Sales in yellow points by Date:\n<|{data}|chart|type=scatter|mode=markers|x=DATE|y[1]=REVENUE|y[2]=SALES|color[1]=green|color[2]=yellow|>"} | |
| {"text": "# Plot a histogram of Sales:\n<|{data}|chart|type=histogram|x=SALES|>"} | |
| {"text": "# Display a horizontal histogram of Sales:\n<|{data}|chart|type=histogram|x=SALES|>"} | |
| {"text": "# Plot the distribution of Sales and Revenue:\n<|{data}|chart|type=histogram|x[1]=SALES|x[2]=REVENUE|>"} | |
| {"text": "# Plot the distribution of Sales and Revenue titled \"Sales and Revenue Distribution\":\n<|{data}|chart|type=histogram|x[1]=SALES|x[2]=REVENUE|title=SALES and Revenue Distribution|>"} | |
| {"text": "# Display a horizontal distribution of Sales and Revenue titled \"Sales and Revenue Distribution\":\n<|{data}|chart|type=histogram|y[1]=SALES|y[2]=REVENUE|title=SALES and Revenue Distribution|>"} | |
| {"text": "# Plot a pie chart of Sales by Date:\n<|{data}|chart|type=pie|values=SALES|labels=Date|>"} | |
| {"text": "# Draw a pie chart of Sales by Date titled \"Sales Pie Chart\":\n<|{data}|chart|type=pie|values=SALES|labels=Date|title=SALES Pie Chart|>"} | |
| {"text": "# Plot a pie chart of Revenue by Date:\n<|{data}|chart|type=pie|values=REVENUE|labels=Date|>"} | |
| {"text": "# Visualize Profit over Time in a line chart:\n<|{data}|chart|type=lines|x=TIME|y=PROFIT|>"} | |
| {"text": "# Showcase Profit over Time in a line chart titled "Profit Trend":\n<|{data}|chart|type=lines|x=TIME|y=PROFIT|title=Profit Trend|>"} | |
| {"text": "# Depict Profit and Loss over Time:\n<|{data}|chart|type=lines|x=TIME|y[1]=PROFIT|y[2]=LOSS|>"} | |
| {"text": "# Illustrate Profit over Time with a Dashed line:\n<|{data}|chart|type=lines|x=TIME|y=PROFIT|line=dash|>"} | |
| {"text": "# Present Loss by Time on a Dotted line:\n<|{data}|chart|type=lines|x=TIME|y=LOSS|line=dot|>"} | |
| {"text": "# Plot Profit over Time in Red:\n<|{data}|chart|type=lines|x=TIME|y=PROFIT|color=Red|>"} | |
| {"text": "# Exhibit Loss over Time in yellow:\n<|{data}|chart|type=lines|x=TIME|y=LOSS|color=Yellow|>"} | |
| {"text": "# Show Profit over Time in yellow titled Profit Overview:\n<|{data}|chart|type=lines|x=TIME|y=PROFIT|color=Yellow|title=Profit Overview|>"} | |
| {"text": "# Display Profit in blue and Loss in green over Time:\n<|{data}|chart|type=lines|x=TIME|y[1]=PROFIT|y[2]=LOSS|color[1]=blue|color[2]=green|>"} | |
| {"text": "# Visualize Loss by Time in a red dashed line and Profit in a yellow Dotted line:\n<|{data}|chart|type=lines|x=TIME|y[1]=LOSS|y[2]=PROFIT|line[1]=dash|line[2]=dot|color[1]=red|color[2]=yellow|>"} | |
| {"text": "# Highlight Time according to Profit:\n<|{data}|chart|type=lines|x=TIME|y=PROFIT|>"} | |
| {"text": "# Depict in a bar chart the Profit over Time:\n<|{data}|chart|type=bar|x=TIME|y=PROFIT|>"} | |
| {"text": "# Depict in a bar chart the Profit over Time and Loss over Time:\n<|{data}|chart|type=bar|x=TIME|y[1]=PROFIT|y[2]=LOSS|>"} | |
| {"text": "# Showcase Profit and Loss by Time in a bar chart:\n<|{data}|chart|type=bar|x=TIME|y[1]=PROFIT|y[2]=LOSS|>"} | |
| {"text": "# Depict in a bar chart the Profit over Time and Loss over Time titled Financial Overview:\n<|{data}|chart|type=bar|x=TIME|y[1]=PROFIT|y[2]=LOSS|title=Financial Overview|>"} | |
| {"text": "# Depict in a scatter plot Profit over Time:\n<|{data}|chart|type=scatter|mode=markers|x=TIME|y=PROFIT|>"} | |
| {"text": "# Illustrate Profit and Loss by Time in a scatter plot:\n<|{data}|chart|type=scatter|mode=markers|x=TIME|y[1]=PROFIT|y[2]=LOSS|>"} | |
| {"text": "# Plot Loss in green points and Profit in yellow points by Time:\n<|{data}|chart|type=scatter|mode=markers|x=TIME|y[1]=LOSS|y[2]=PROFIT|color[1]=green|color[2]=yellow|>"} | |
| {"text": "# Display a histogram of Profit:\n<|{data}|chart|type=histogram|x=PROFIT|>"} | |
| {"text": "# Showcase a horizontal histogram of Profit:\n<|{data}|chart|type=histogram|x=PROFIT|>"} | |
| {"text": "# Illustrate the distribution of Profit and Loss:\n<|{data}|chart|type=histogram|x[1]=PROFIT|x[2]=LOSS|>"} | |
| {"text": "# Illustrate the distribution of Profit and Loss titled "Profit and Loss Distribution":\n<|{data}|chart|type=histogram|x[1]=PROFIT|x[2]=LOSS|title=Profit and Loss Distribution|>"} | |
| {"text": "# Present a horizontal distribution of Profit and Loss titled "Profit and Loss Distribution":\n<|{data}|chart|type=histogram|y[1]=PROFIT|y[2]=LOSS|title=Profit and Loss Distribution|>"} | |
| {"text": "# Depict a pie chart of Profit by Time:\n<|{data}|chart|type=pie|values=PROFIT|labels=Time|>"} | |
| {"text": "# Illustrate a pie chart of Profit by Time titled "Profit Pie Chart":\n<|{data}|chart|type=pie|values=PROFIT|labels=Time|title=Profit Pie Chart|>"} | |
| {"text": "# Depict a pie chart of Loss by Time:\n<|{data}|chart|type=pie|values=LOSS|labels=Time|>"} | |
| {"text": "# Visualize Quantity over Time in a line chart:\n<|{data}|chart|type=lines|x=TIME|y=QUANTITY|>"} | |
| {"text": "# Showcase Quantity over Time in a line chart titled "Quantity Trend":\n<|{data}|chart|type=lines|x=TIME|y=QUANTITY|title=Quantity Trend|>"} | |
| {"text": "# Depict Quantity and Price over Time:\n<|{data}|chart|type=lines|x=TIME|y[1]=QUANTITY|y[2]=PRICE|>"} | |
| {"text": "# Illustrate Quantity over Time with a Dashed line:\n<|{data}|chart|type=lines|x=TIME|y=QUANTITY|line=dash|>"} | |
| {"text": "# Present Price by Time on a Dotted line:\n<|{data}|chart|type=lines|x=TIME|y=PRICE|line=dot|>"} | |
| {"text": "# Plot Quantity over Time in Green:\n<|{data}|chart|type=lines|x=TIME|y=QUANTITY|color=Green|>"} | |
| {"text": "# Exhibit Price over Time in Blue:\n<|{data}|chart|type=lines|x=TIME|y=PRICE|color=Blue|>"} | |
| {"text": "# Show Price over Time in Blue titled Price Overview:\n<|{data}|chart|type=lines|x=TIME|y=PRICE|color=Blue|title=Price Overview|>"} | |
| {"text": "# Display Quantity in Red and Price in Yellow over Time:\n<|{data}|chart|type=lines|x=TIME|y[1]=QUANTITY|y[2]=PRICE|color[1]=Red|color[2]=Yellow|>"} | |
| {"text": "# Visualize Price by Time in a Green dashed line and Quantity in a Yellow Dotted line:\n<|{data}|chart|type=lines|x=TIME|y[1]=PRICE|y[2]=QUANTITY|line[1]=dash|line[2]=dot|color[1]=Green|color[2]=Yellow|>"} | |
| {"text": "# Highlight Time according to Quantity:\n<|{data}|chart|type=lines|x=TIME|y=QUANTITY|>"} | |
| {"text": "# Depict in a bar chart the Quantity over Time:\n<|{data}|chart|type=bar|x=TIME|y=QUANTITY|>"} | |
| {"text": "# Depict in a bar chart the Quantity over Time and Price over Time:\n<|{data}|chart|type=bar|x=TIME|y[1]=QUANTITY|y[2]=PRICE|>"} | |
| {"text": "# Showcase Quantity and Price by Time in a bar chart:\n<|{data}|chart|type=bar|x=TIME|y[1]=QUANTITY|y[2]=PRICE|>"} | |
| {"text": "# Depict in a bar chart the Quantity over Time and Price over Time titled Product Overview:\n<|{data}|chart|type=bar|x=TIME|y[1]=QUANTITY|y[2]=PRICE|title=Product Overview|>"} | |
| {"text": "# Depict in a scatter plot Quantity over Time:\n<|{data}|chart|type=scatter|mode=markers|x=TIME|y=QUANTITY|>"} | |
| {"text": "# Illustrate Quantity and Price by Time in a scatter plot:\n<|{data}|chart|type=scatter|mode=markers|x=TIME|y[1]=QUANTITY|y[2]=PRICE|>"} | |
| {"text": "# Plot Price in Green points and Quantity in Yellow points by Time:\n<|{data}|chart|type=scatter|mode=markers|x=TIME|y[1]=PRICE|y[2]=QUANTITY|color[1]=Green|color[2]=Yellow|>"} | |
| {"text": "# Display a histogram of Quantity:\n<|{data}|chart|type=histogram|x=QUANTITY|>"} | |
| {"text": "# Showcase a horizontal histogram of Quantity:\n<|{data}|chart|type=histogram|x=QUANTITY|>"} | |
| {"text": "# Illustrate the distribution of Quantity and Price:\n<|{data}|chart|type=histogram|x[1]=QUANTITY|x[2]=PRICE|>"} | |
| {"text": "# Illustrate the distribution of Quantity and Price titled "Quantity and Price Distribution":\n<|{data}|chart|type=histogram|x[1]=QUANTITY|x[2]=PRICE|title=Quantity and Price Distribution|>"} | |
| {"text": "# Present a horizontal distribution of Quantity and Price titled "Quantity and Price Distribution":\n<|{data}|chart|type=histogram|y[1]=QUANTITY|y[2]=PRICE|title=Quantity and Price Distribution|>"} | |
| {"text": "# Depict a pie chart of Quantity by Time:\n<|{data}|chart|type=pie|values=QUANTITY|labels=Time|>"} | |
| {"text": "# Illustrate a pie chart of Quantity by Time titled "Quantity Pie Chart":\n<|{data}|chart|type=pie|values=QUANTITY|labels=Time|title=Quantity Pie Chart|>"} | |
| {"text": "# Depict a pie chart of Price by Time:\n<|{data}|chart|type=pie|values=PRICE|labels=Time|>"} | |
| {"text": "# Plot Temperature against Time in a line chart:\n<|{data}|chart|type=lines|x=TIME|y=TEMPERATURE|>"} | |
| {"text": "# Showcase Temperature against Time in a line chart titled "Temperature Trend":\n<|{data}|chart|type=lines|x=TIME|y=TEMPERATURE|title=Temperature Trend|>"} | |
| {"text": "# Depict Temperature and Humidity against Time:\n<|{data}|chart|type=lines|x=TIME|y[1]=TEMPERATURE|y[2]=HUMIDITY|>"} | |
| {"text": "# Illustrate Temperature against Time with a Dashed line:\n<|{data}|chart|type=lines|x=TIME|y=TEMPERATURE|line=dash|>"} | |
| {"text": "# Present Humidity by Time on a Dotted line:\n<|{data}|chart|type=lines|x=TIME|y=HUMIDITY|line=dot|>"} | |
| {"text": "# Plot Temperature against Time in Blue:\n<|{data}|chart|type=lines|x=TIME|y=TEMPERATURE|color=Blue|>"} | |
| {"text": "# Exhibit Humidity against Time in Green:\n<|{data}|chart|type=lines|x=TIME|y=HUMIDITY|color=Green|>"} | |
| {"text": "# Show Humidity against Time in Green titled Humidity Overview:\n<|{data}|chart|type=lines|x=TIME|y=HUMIDITY|color=Green|title=Humidity Overview|>"} | |
| {"text": "# Display Temperature in Red and Humidity in Yellow against Time:\n<|{data}|chart|type=lines|x=TIME|y[1]=TEMPERATURE|y[2]=HUMIDITY|color[1]=Red|color[2]=Yellow|>"} | |
| {"text": "# Visualize Humidity against Time in a Red dashed line and Temperature in a Yellow Dotted line:\n<|{data}|chart|type=lines|x=TIME|y[1]=HUMIDITY|y[2]=TEMPERATURE|line[1]=dash|line[2]=dot|color[1]=Red|color[2]=Yellow|>"} | |
| {"text": "# Highlight Time according to Temperature:\n<|{data}|chart|type=lines|x=TIME|y=TEMPERATURE|>"} | |
| {"text": "# Depict in a bar chart the Temperature against Time:\n<|{data}|chart|type=bar|x=TIME|y=TEMPERATURE|>"} | |
| {"text": "# Depict in a bar chart the Temperature against Time and Humidity against Time:\n<|{data}|chart|type=bar|x=TIME|y[1]=TEMPERATURE|y[2]=HUMIDITY|>"} | |
| {"text": "# Showcase Temperature and Humidity against Time in a bar chart:\n<|{data}|chart|type=bar|x=TIME|y[1]=TEMPERATURE|y[2]=HUMIDITY|>"} | |
| {"text": "# Depict in a bar chart the Temperature against Time and Humidity against Time titled Climate Overview:\n<|{data}|chart|type=bar|x=TIME|y[1]=TEMPERATURE|y[2]=HUMIDITY|title=Climate Overview|>"} | |
| {"text": "# Depict in a scatter plot Temperature against Time:\n<|{data}|chart|type=scatter|mode=markers|x=TIME|y=TEMPERATURE|>"} | |
| {"text": "# Illustrate Temperature and Humidity against Time in a scatter plot:\n<|{data}|chart|type=scatter|mode=markers|x=TIME|y[1]=TEMPERATURE|y[2]=HUMIDITY|>"} | |
| {"text": "# Plot Humidity in Green points and Temperature in Yellow points against Time:\n<|{data}|chart|type=scatter|mode=markers|x=TIME|y[1]=HUMIDITY|y[2]=TEMPERATURE|color[1]=Green|color[2]=Yellow|>"} | |
| {"text": "# Display a histogram of Temperature:\n<|{data}|chart|type=histogram|x=TEMPERATURE|>"} | |
| {"text": "# Showcase a horizontal histogram of Temperature:\n<|{data}|chart|type=histogram|x=TEMPERATURE|>"} | |
| {"text": "# Illustrate the distribution of Temperature and Humidity:\n<|{data}|chart|type=histogram|x[1]=TEMPERATURE|x[2]=HUMIDITY|>"} | |
| {"text": "# Illustrate the distribution of Temperature and Humidity titled "Temperature and Humidity Distribution":\n<|{data}|chart|type=histogram|x[1]=TEMPERATURE|x[2]=HUMIDITY|title=Temperature and Humidity Distribution|>"} | |
| {"text": "# Present a horizontal distribution of Temperature and Humidity titled "Temperature and Humidity Distribution":\n<|{data}|chart|type=histogram|y[1]=TEMPERATURE|y[2]=HUMIDITY|title=Temperature and Humidity Distribution|>"} | |
| {"text": "# Depict a pie chart of Temperature against Time:\n<|{data}|chart|type=pie|values=TEMPERATURE|labels=Time|>"} | |
| {"text": "# Illustrate a pie chart of Temperature against Time titled "Temperature Pie Chart":\n<|{data}|chart|type=pie|values=TEMPERATURE|labels=Time|title=Temperature Pie Chart|>"} | |
| {"text": "# Depict a pie chart of Humidity against Time:\n<|{data}|chart|type=pie|values=HUMIDITY|labels=Time|>"} | |
| {"text": "# Plot Sales against Region in a line chart:\n<|{data}|chart|type=lines|x=REGION|y=SALES|>"} | |
| {"text": "# Showcase Sales against Region in a line chart titled "Sales by Region":\n<|{data}|chart|type=lines|x=REGION|y=SALES|title=Sales by Region|>"} | |
| {"text": "# Depict Sales and Profit against Region:\n<|{data}|chart|type=lines|x=REGION|y[1]=SALES|y[2]=PROFIT|>"} | |
| {"text": "# Illustrate Sales against Region with a Dashed line:\n<|{data}|chart|type=lines|x=REGION|y=SALES|line=dash|>"} | |
| {"text": "# Present Profit by Region on a Dotted line:\n<|{data}|chart|type=lines|x=REGION|y=PROFIT|line=dot|>"} | |
| {"text": "# Plot Sales against Region in Blue:\n<|{data}|chart|type=lines|x=REGION|y=SALES|color=Blue|>"} | |
| {"text": "# Exhibit Profit against Region in Green:\n<|{data}|chart|type=lines|x=REGION|y=PROFIT|color=Green|>"} | |
| {"text": "# Show Profit against Region in Green titled Profit Overview:\n<|{data}|chart|type=lines|x=REGION|y=PROFIT|color=Green|title=Profit Overview|>"} | |
| {"text": "# Display Sales in Red and Profit in Yellow against Region:\n<|{data}|chart|type=lines|x=REGION|y[1]=SALES|y[2]=PROFIT|color[1]=Red|color[2]=Yellow|>"} | |
| {"text": "# Visualize Profit by Region in a Red dashed line and Sales in a Yellow Dotted line:\n<|{data}|chart|type=lines|x=REGION|y[1]=PROFIT|y[2]=SALES|line[1]=dash|line[2]=dot|color[1]=Red|color[2]=Yellow|>"} | |
| {"text": "# Highlight Region according to Sales:\n<|{data}|chart|type=lines|x=REGION|y=SALES|>"} | |
| {"text": "# Depict in a bar chart the Sales against Region:\n<|{data}|chart|type=bar|x=REGION|y=SALES|>"} | |
| {"text": "# Depict in a bar chart the Sales against Region and Profit against Region:\n<|{data}|chart|type=bar|x=REGION|y[1]=SALES|y[2]=PROFIT|>"} | |
| {"text": "# Showcase Sales and Profit against Region in a bar chart:\n<|{data}|chart|type=bar|x=REGION|y[1]=SALES|y[2]=PROFIT|>"} | |
| {"text": "# Depict in a bar chart the Sales against Region and Profit against Region titled Financial Overview:\n<|{data}|chart|type=bar|x=REGION|y[1]=SALES|y[2]=PROFIT|title=Financial Overview|>"} | |
| {"text": "# Depict in a scatter plot Sales against Region:\n<|{data}|chart|type=scatter|mode=markers|x=REGION|y=SALES|>"} | |
| {"text": "# Illustrate Sales and Profit against Region in a scatter plot:\n<|{data}|chart|type=scatter|mode=markers|x=REGION|y[1]=SALES|y[2]=PROFIT|>"} | |
| {"text": "# Plot Profit in Green points and Sales in Yellow points against Region:\n<|{data}|chart|type=scatter|mode=markers|x=REGION|y[1]=PROFIT|y[2]=SALES|color[1]=Green|color[2]=Yellow|>"} | |
| {"text": "# Display a histogram of Sales against Region:\n<|{data}|chart|type=histogram|x=SALES|>"} | |
| {"text": "# Showcase a horizontal histogram of Sales against Region:\n<|{data}|chart|type=histogram|x=SALES|>"} | |
| {"text": "# Illustrate the distribution of Sales and Profit against Region:\n<|{data}|chart|type=histogram|x[1]=SALES|x[2]=PROFIT|>"} | |
| {"text": "# Illustrate the distribution of Sales and Profit against Region titled "Sales and Profit Distribution":\n<|{data}|chart|type=histogram|x[1]=SALES|x[2]=PROFIT|title=Sales and Profit Distribution|>"} | |
| {"text": "# Present a horizontal distribution of Sales and Profit against Region titled "Sales and Profit Distribution":\n<|{data}|chart|type=histogram|y[1]=SALES|y[2]=PROFIT|title=Sales and Profit Distribution|>"} | |
| {"text": "# Depict a pie chart of Sales against Region:\n<|{data}|chart|type=pie|values=SALES|labels=Region|>"} | |
| {"text": "# Illustrate a pie chart of Sales against Region titled "Sales Pie Chart":\n<|{data}|chart|type=pie|values=SALES|labels=Region|title=Sales Pie Chart|>"} | |
| {"text": "# Depict a pie chart of Profit against Region:\n<|{data}|chart|type=pie|values=PROFIT|labels=Region|>"} | |
| {"text": "# Visualize Productivity against Employee in a line chart:\n<|{data}|chart|type=lines|x=EMPLOYEE|y=PRODUCTIVITY|>"} | |
| {"text": "# Showcase Productivity against Employee in a line chart titled "Employee Productivity Trend":\n<|{data}|chart|type=lines|x=EMPLOYEE|y=PRODUCTIVITY|title=Employee Productivity Trend|>"} | |
| {"text": "# Depict Productivity and Satisfaction against Employee:\n<|{data}|chart|type=lines|x=EMPLOYEE|y[1]=PRODUCTIVITY|y[2]=SATISFACTION|>"} | |
| {"text": "# Illustrate Productivity against Employee with a Dashed line:\n<|{data}|chart|type=lines|x=EMPLOYEE|y=PRODUCTIVITY|line=dash|>"} | |
| {"text": "# Present Satisfaction by Employee on a Dotted line:\n<|{data}|chart|type=lines|x=EMPLOYEE|y=SATISFACTION|line=dot|>"} | |
| {"text": "# Plot Productivity against Employee in Blue:\n<|{data}|chart|type=lines|x=EMPLOYEE|y=PRODUCTIVITY|color=Blue|>"} | |
| {"text": "# Exhibit Satisfaction against Employee in Green:\n<|{data}|chart|type=lines|x=EMPLOYEE|y=SATISFACTION|color=Green|>"} | |
| {"text": "# Show Satisfaction against Employee in Green titled Satisfaction Overview:\n<|{data}|chart|type=lines|x=EMPLOYEE|y=SATISFACTION|color=Green|title=Satisfaction Overview|>"} | |
| {"text": "# Display Productivity in Red and Satisfaction in Yellow against Employee:\n<|{data}|chart|type=lines|x=EMPLOYEE|y[1]=PRODUCTIVITY|y[2]=SATISFACTION|color[1]=Red|color[2]=Yellow|>"} | |
| {"text": "# Visualize Satisfaction by Employee in a Red dashed line and Productivity in a Yellow Dotted line:\n<|{data}|chart|type=lines|x=EMPLOYEE|y[1]=SATISFACTION|y[2]=PRODUCTIVITY|line[1]=dash|line[2]=dot|color[1]=Red|color[2]=Yellow|>"} | |
| {"text": "# Highlight Employee according to Productivity:\n<|{data}|chart|type=lines|x=EMPLOYEE|y=PRODUCTIVITY|>"} | |
| {"text": "# Depict in a bar chart the Productivity against Employee:\n<|{data}|chart|type=bar|x=EMPLOYEE|y=PRODUCTIVITY|>"} | |
| {"text": "# Depict in a bar chart the Productivity against Employee and Satisfaction against Employee:\n<|{data}|chart|type=bar|x=EMPLOYEE|y[1]=PRODUCTIVITY|y[2]=SATISFACTION|>"} | |
| {"text": "# Showcase Productivity and Satisfaction against Employee in a bar chart:\n<|{data}|chart|type=bar|x=EMPLOYEE|y[1]=PRODUCTIVITY|y[2]=SATISFACTION|>"} | |
| {"text": "# Depict in a bar chart the Productivity against Employee and Satisfaction against Employee titled Work Overview:\n<|{data}|chart|type=bar|x=EMPLOYEE|y[1]=PRODUCTIVITY|y[2]=SATISFACTION|title=Work Overview|>"} | |
| {"text": "# Depict in a scatter plot Productivity against Employee:\n<|{data}|chart|type=scatter|mode=markers|x=EMPLOYEE|y=PRODUCTIVITY|>"} | |
| {"text": "# Illustrate Productivity and Satisfaction against Employee in a scatter plot:\n<|{data}|chart|type=scatter|mode=markers|x=EMPLOYEE|y[1]=PRODUCTIVITY|y[2]=SATISFACTION|>"} | |
| {"text": "# Plot Satisfaction in Green points and Productivity in Yellow points against Employee:\n<|{data}|chart|type=scatter|mode=markers|x=EMPLOYEE|y[1]=SATISFACTION|y[2]=PRODUCTIVITY|color[1]=Green|color[2]=Yellow|>"} | |
| {"text": "# Display a histogram of Productivity against Employee:\n<|{data}|chart|type=histogram|x=PRODUCTIVITY|>"} | |
| {"text": "# Showcase a horizontal histogram of Productivity against Employee:\n<|{data}|chart|type=histogram|x=PRODUCTIVITY|>"} | |
| {"text": "# Illustrate the distribution of Productivity and Satisfaction against Employee:\n<|{data}|chart|type=histogram|x[1]=PRODUCTIVITY|x[2]=SATISFACTION|>"} | |
| {"text": "# Illustrate the distribution of Productivity and Satisfaction against Employee titled "Productivity and Satisfaction Distribution":\n<|{data}|chart|type=histogram|x[1]=PRODUCTIVITY|x[2]=SATISFACTION|title=Productivity and Satisfaction Distribution|>"} | |
| {"text": "# Present a horizontal distribution of Productivity and Satisfaction against Employee titled "Productivity and Satisfaction Distribution":\n<|{data}|chart|type=histogram|y[1]=PRODUCTIVITY|y[2]=SATISFACTION|title=Productivity and Satisfaction Distribution|>"} | |
| {"text": "# Depict a pie chart of Productivity against Employee:\n<|{data}|chart|type=pie|values=PRODUCTIVITY|labels=Employee|>"} | |
| {"text": "# Illustrate a pie chart of Productivity against Employee titled "Productivity Pie Chart":\n<|{data}|chart|type=pie|values=PRODUCTIVITY|labels=Employee|title=Productivity Pie Chart|>"} | |
| {"text": "# Depict a pie chart of Satisfaction against Employee:\n<|{data}|chart|type=pie|values=SATISFACTION|labels=Employee|>"} | |
| {"text": "# Plot Population against Country in a line chart:\n<|{data}|chart|type=lines|x=COUNTRY|y=POPULATION|>"} | |
| {"text": "# Showcase Population against Country in a line chart titled "Population Trends":\n<|{data}|chart|type=lines|x=COUNTRY|y=POPULATION|title=Population Trends|>"} | |
| {"text": "# Depict Population and GDP against Country:\n<|{data}|chart|type=lines|x=COUNTRY|y[1]=POPULATION|y[2]=GDP|>"} | |
| {"text": "# Illustrate Population against Country with a Dashed line:\n<|{data}|chart|type=lines|x=COUNTRY|y=POPULATION|line=dash|>"} | |
| {"text": "# Present GDP by Country on a Dotted line:\n<|{data}|chart|type=lines|x=COUNTRY|y=GDP|line=dot|>"} | |
| {"text": "# Plot Population against Country in Blue:\n<|{data}|chart|type=lines|x=COUNTRY|y=POPULATION|color=Blue|>"} | |
| {"text": "# Exhibit GDP against Country in Green:\n<|{data}|chart|type=lines|x=COUNTRY|y=GDP|color=Green|>"} | |
| {"text": "# Show GDP against Country in Green titled GDP Overview:\n<|{data}|chart|type=lines|x=COUNTRY|y=GDP|color=Green|title=GDP Overview|>"} | |
| {"text": "# Display Population in Red and GDP in Yellow against Country:\n<|{data}|chart|type=lines|x=COUNTRY|y[1]=POPULATION|y[2]=GDP|color[1]=Red|color[2]=Yellow|>"} | |
| {"text": "# Visualize GDP by Country in a Red dashed line and Population in a Yellow Dotted line:\n<|{data}|chart|type=lines|x=COUNTRY|y[1]=GDP|y[2]=POPULATION|line[1]=dash|line[2]=dot|color[1]=Red|color[2]=Yellow|>"} | |
| {"text": "# Highlight Country according to Population:\n<|{data}|chart|type=lines|x=COUNTRY|y=POPULATION|>"} | |
| {"text": "# Depict in a bar chart the Population against Country:\n<|{data}|chart|type=bar|x=COUNTRY|y=POPULATION|>"} | |
| {"text": "# Depict in a bar chart the Population against Country and GDP against Country:\n<|{data}|chart|type=bar|x=COUNTRY|y[1]=POPULATION|y[2]=GDP|>"} | |
| {"text": "# Showcase Population and GDP against Country in a bar chart:\n<|{data}|chart|type=bar|x=COUNTRY|y[1]=POPULATION|y[2]=GDP|>"} | |
| {"text": "# Depict in a bar chart the Population against Country and GDP against Country titled Economic Overview:\n<|{data}|chart|type=bar|x=COUNTRY|y[1]=POPULATION|y[2]=GDP|title=Economic Overview|>"} | |
| {"text": "# Depict in a scatter plot Population against Country:\n<|{data}|chart|type=scatter|mode=markers|x=COUNTRY|y=POPULATION|>"} | |
| {"text": "# Illustrate Population and GDP against Country in a scatter plot:\n<|{data}|chart|type=scatter|mode=markers|x=COUNTRY|y[1]=POPULATION|y[2]=GDP|>"} | |
| {"text": "# Plot GDP in Green points and Population in Yellow points against Country:\n<|{data}|chart|type=scatter|mode=markers|x=COUNTRY|y[1]=GDP|y[2]=POPULATION|color[1]=Green|color[2]=Yellow|>"} | |
| {"text": "# Display a histogram of Population against Country:\n<|{data}|chart|type=histogram|x=POPULATION|>"} | |
| {"text": "# Showcase a horizontal histogram of Population against Country:\n<|{data}|chart|type=histogram|x=POPULATION|>"} | |
| {"text": "# Illustrate the distribution of Population and GDP against Country:\n<|{data}|chart|type=histogram|x[1]=POPULATION|x[2]=GDP|>"} | |
| {"text": "# Illustrate the distribution of Population and GDP against Country titled "Population and GDP Distribution":\n<|{data}|chart|type=histogram|x[1]=POPULATION|x[2]=GDP|title=Population and GDP Distribution|>"} | |
| {"text": "# Present a horizontal distribution of Population and GDP against Country titled "Population and GDP Distribution":\n<|{data}|chart|type=histogram|y[1]=POPULATION|y[2]=GDP|title=Population and GDP Distribution|>"} | |
| {"text": "# Depict a pie chart of Population against Country:\n<|{data}|chart|type=pie|values=POPULATION|labels=Country|>"} | |
| {"text": "# Illustrate a pie chart of Population against Country titled "Population Pie Chart":\n<|{data}|chart|type=pie|values=POPULATION|labels=Country|title=Population Pie Chart|>"} | |
| {"text": "# Depict a pie chart of GDP against Country:\n<|{data}|chart|type=pie|values=GDP|labels=Country|>"} | |