الوصف
Important notice!
Due to a shift in my personal and professional priorities, I have decided to take a step back from development. As a result, this plugin is no longer being actively maintained. You are welcome to fork it and create your own updates. If you do so, please credit me as the original author. (I would also love to hear about this plugin’s new life!)
All the best, Joni.
—
This WordPress plugin adds a responsive and accessible data chart block to the post editor. The chart feeds off of data from a publicly viewable Google sheet.
لقطات الشاشة
التنصيب
-
In the WordPress admin, install and enable the “Besan Block” plugin.
-
Enter your Google Sheets API key on the plugin’s settings page.
-
Edit any page or post and add the “Chart” editor block.
-
In the Inspector panel (on the right-hand side of the editor), enter the following information:
- The URL of your publicly viewable Google sheet
- The column of data that your chart will be based on
- What kind of chart you would like to display
- What color the bars of the chart should be.
-
Optionally (but preferably), enter a title and caption for the chart inside the editor.
-
Save and view the page!
The block will calculate the number of unique values inside that column and create a chart based on that data.
الأسئلة المتكررّة
-
What is “Besan”?
-
“Besan” is the Vulcan word for “chart”. Live long and prosper.
-
What kinds of charts do you support?
-
So far, only bar charts (horizontal and vertical). More charts (including pie charts) are coming soon… or, well, eventually.
المراجعات
لا توجد مراجعات لهذه الإضافة.
المساهمون والمطوّرون
“Besan Block” هو برنامج مفتوح المصدر. وقد ساهم هؤلاء الأشخاص بالأسفل في هذه الإضافة.
المساهمونلقد تم ترجمة ”Besan Block“ إلى لغة واحدة. شكراً إلى جميع المُترجمين لمُساهماتهم.
مُهتم بالتطوير؟
تصفّح الشفرة، تحقق من مستودع SVN، أو الاشتراك في سجل التطوير بواسطة RSS.
سجل التغييرات
1.4
- Tested plugin with WordPress core 6.4.
- Edited instructions and styles on the settings for clarity and accessibility. We’re also using more modern CSS here.
1.3
- Tested plugin with WordPress core 6.2.
- Block code refactoring to keep up with current Gutenberg API standards.
1.2
- Tested plugin with WordPress core 5.7.
- Rearranging some things under the hood (i.e. code refactoring).
- UX updates to the block’s inspector panel options.
- Updated the chart placeholder inside the editor – it now changes color to match the selected chart color!
1.1
- Tested plugin with WordPress core 5.4.
- Fixed PHP error on admin settings page.
1.0
- Initial release