create block for charts
Question
hi,First of all, I wish you a happy life.i have created a block for charts like:

I don't know how to get chart from my block.Global variables are not available.
And i also want to modify configuration items for charts

Answers (2)
I don't know how to get chart from my block. Global variables are not available.
I don't understand what do you want to do
And i also want to modify configuration items for charts
You can use changeProp to get the property value of your components
content: {
type: 'mycharts',
xaxis: 100,
traits: [{
label: 'xAxis',
// Use changeProp and assign the same
// name of the property to get its value
changeProp: 1,
name: 'xaxis',
}]
}
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Related Questions and Answers
Continue research with similar issue discussions.
Issue #1175
How to modify the content of the added block
sorry,I created a type for button and I don't know how to change the content of the button.thanks so much!!
Issue #1216
get script from the block
excuse me.i want to modify configuration items for charts.so i should get the chart in script from the block.But I haven't found the right...
Issue #1237
Before you drag and drop the image,there was nothing in assetManager
and I don't know how to set the backgroundImage
Issue #1723
[QUESTION] replacing particular text in dropped component
Hi, I get the value from custom traits from what I entered but I don't know how to change the particular value in dropped component and ren...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.