Custom App Connect components

Hi there!

Is it possible to have the ability to develop custom components? I’ve searched around but found nothing related to custom app connect components.

For example, let’s assume I need a custom chartjs chart where I want to draw an arbitrary vertical line somewhere similar to this one. The current chart component generates code similar to:

<dmx-chart id="chart1" nogrid="true" stacked="true" colors="colors1" legend="left" dmx-bind:data="sc_get_cars.data.cars" dataset-1:value="year" dataset-1:label="model"></dmx-chart>

Which does not let me customize the chartjs code.

I’d like to write my own code and bundle it in a component, so that I don’t need to copy/paste for each instance of chart in my app. When using my custom component, I guess it would generate something like:

<dmx-my-custom-chart ...></dmx-chart>

In a platform like Bubble, if I have a need for a completely custom chart, I write a plugin with a custom element containing all the chartjs code/config.

Would it make sense?

Thanks a lot!

Community Page
Last updated: