Jump to content

Custom code on a chart

Recommended Posts

Posted

Site URL: https://tuatara-lettuce-8e4b.squarespace.com

Hi. I have created a chart on my website but I would like to change the colours of the bars to my client's colours and also to add a percentage symbol to the axis.

Does anyone know if either of these things are possible?

And I've accidentally added a fourth column and can't work out how to get rid of it.

Any help would be much appreciated.

Thanks

Screenshot 2022-02-21 at 17.33.08.png

  • Replies 6
  • Views 757
  • Created
  • Last Reply

Top Posters In This Topic

Posted
Quote

And I've accidentally added a fourth column and can't work out how to get rid of it.

From the documentation.

Quote

In the data tab of the block editor, remove placeholder rows by dragging and dropping them into the trash can that appears.

SS could have expanded that bit with some pics or a video.

1511747110_ScreenShot2022-02-21at10_15_19AM.png.ce1341cd9736ad88c6d8a5f0ecf1a5e0.png

 

818063937_ScreenShot2022-02-21at10_15_37AM.png.6b74afbe6786657453ee5d7656f072cf.png

 

1204626771_ScreenShot2022-02-21at10_15_46AM.png.c10679a5d08504011d628588569e0934.png

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Posted (edited)
Quote

I would like to change the colours of the bars to my client's colours and also to add a percentage symbol to the axis.

Please see the following.

 

Edited by creedon

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Posted
Quote

so I can only use the colours in the palette?

Yes only the colors SS has defined.

You could of course use an outside chart service like Google Spreadsheet. Those services of course have their own foibles.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.