<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Smartchart开发手册</title>
    <link>https://help.smartchart.cn/en/docs/3.Graphics/</link>
    <description>Recent content on Smartchart开发手册</description>
    <generator>Hugo -- gohugo.io</generator><atom:link href="https://help.smartchart.cn/en/docs/3.Graphics/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title></title>
      <link>https://help.smartchart.cn/en/docs/3.Graphics/BasicGraphics/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>https://help.smartchart.cn/en/docs/3.Graphics/BasicGraphics/</guid>
      <description>Quick Apply Basic Graphic Components # SmartChart includes a rich set of basic graphic components with one-click application and quick customization.
Select &amp;ldquo;Graphics&amp;rdquo; → &amp;ldquo;Basic Graphics&amp;rdquo; from the top menu, click any graphic to apply it to the current chart Find more community-contributed SmartChart graphic templates in the Graphics Store Built-in basic graphics cover common types (bar, line, pie, etc.); simple configuration modifications can derive stacked charts, area charts, dual-axis charts, and other variants Understanding ECharts Core Concepts # SmartChart&amp;rsquo;s graphic configuration is entirely based on ECharts option.</description>
    </item>
    
    <item>
      <title></title>
      <link>https://help.smartchart.cn/en/docs/3.Graphics/ManageGraphics/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>https://help.smartchart.cn/en/docs/3.Graphics/ManageGraphics/</guid>
      <description>Introduction # The custom component management feature allows you to save developed graphics as local samples for quick reuse across multiple dashboards. No need to reconfigure SQL and JS code — simply call from the sample library. Ideal for accumulating and sharing standardized graphic components across teams.
Operation Description Add Sample Save current graphic configuration to local sample list Remove Sample Remove a selected sample from the list Reuse Sample Call from the sample library with one click when creating new graphics Use Cases # During graphics development, when you complete a graphic&amp;rsquo;s configuration and logic, you can save it as a custom component for quick reuse in other dashboards, avoiding repetitive development.</description>
    </item>
    
    <item>
      <title></title>
      <link>https://help.smartchart.cn/en/docs/3.Graphics/EchartsComponents/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>https://help.smartchart.cn/en/docs/3.Graphics/EchartsComponents/</guid>
      <description>Introduction # ECharts components are the core entry point for SmartChart graphic development. By copying the option configuration from ECharts official examples into the SmartChart graphic editor and converting it to platform-adapted code, you can achieve the complete graphic development workflow from static examples to dynamic data binding.
Core Step Description View Example Copy option from ECharts official examples Convert Click &amp;ldquo;Tools → Convert to SmartChart&amp;rdquo; Dynamic Data Replace static data with __dataset__ + ds_createMap() Variable Convention Variable names with __name__ suffix to avoid DOM conflicts Use Cases # SmartChart provides a large collection of generic graphic templates available directly from the store.</description>
    </item>
    
    <item>
      <title></title>
      <link>https://help.smartchart.cn/en/docs/3.Graphics/HTMLComponents/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>https://help.smartchart.cn/en/docs/3.Graphics/HTMLComponents/</guid>
      <description>Introduction # HTML components are the most flexible component type in SmartChart, suitable for implementing input controls (filters, buttons), display components (indicator cards, tables), and rich text content. Use dom__name__.innerHTML in JS code to render HTML, combined with datasets for dynamic content.
Key Syntax Description dom__name__ Current graphic DOM container, __name__ auto-replaced with unique ID innerHTML Write HTML content to container ds_setParam() Set parameter to trigger linkage ds_refresh(n) Refresh graphic number n __dataset__ Standard 2D array from backend Use Cases # HTML components are the most flexible component type in SmartChart, suitable for:</description>
    </item>
    
    <item>
      <title></title>
      <link>https://help.smartchart.cn/en/docs/3.Graphics/ChartDataFunctions/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>https://help.smartchart.cn/en/docs/3.Graphics/ChartDataFunctions/</guid>
      <description>Use Cases # In graphic development, you may need to use JS to process the data passed from the backend. All functions can be called directly in the graphic&amp;rsquo;s JS code area.
Data Convention: All examples use the following standard 2D array, where the first row is the header and subsequent rows are data:
dataset = [[&amp;#39;category&amp;#39;, &amp;#39;C1&amp;#39;, &amp;#39;C2&amp;#39;], [&amp;#39;R1&amp;#39;, 12, 18], [&amp;#39;R2&amp;#39;, 10, 17]] Dataset Transformation # ds_transform(dataset) # Row-column transpose: Swaps rows and columns of a 2D array (matrix transpose).</description>
    </item>
    
    <item>
      <title></title>
      <link>https://help.smartchart.cn/en/docs/3.Graphics/DebugLogs/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>https://help.smartchart.cn/en/docs/3.Graphics/DebugLogs/</guid>
      <description>Overview # SmartChart provides two debugging methods: dashboard-level logs and graph-level log() function. Compared to opening the browser F12 console, SmartChart&amp;rsquo;s built-in logging system is better suited for large-screen development scenarios — you can see log output and graphic sequence numbers directly on the page for quick problem identification.
Enable Log Display in Dashboard # Click the log toggle in the dashboard top menu to switch log display status:</description>
    </item>
    
  </channel>
</rss>
