Home › Forums › SPJS Charts for SharePoint › SPJS Table Chart and Note field
Tagged: Table Chart
- This topic has 11 replies, 2 voices, and was last updated 3 years, 1 month ago by Alexander Bautz.
-
AuthorPosts
-
-
September 23, 2021 at 12:29 #34557
Hi,
I have some charts on SP2010 SPJS v.6 and I’m trying to rectreate them on SP2019 SPJS v.7 in a table chart, I’m not able to select some fields, I think the problem is that the missing fields are all “Note” fields?Is there a reason why I could select “note” fields in SPJS v.6 on SP2010 but not in v.7 on SP2019?
Thanks,
Phil
-
September 23, 2021 at 18:40 #34566
Hi,
v7 is completely redesigned from v6 and I skipped note fields because I didn’t think it was relevant to use in a chart (didn’t think the table chart…).I have fixed is and have attached the script file below. Just unzip and drop it in your SPJS/CHARTS_V7 folder.
I’ll include it in the next release.
Alexander
Attachments:
-
September 24, 2021 at 09:20 #34581
Alexander,
Thanks for the fix, I thought it was a bit strange.Phil
-
September 28, 2021 at 08:03 #34605
Thanks, that fixed it, one other strange thing I’ve noticed is that the label for the index field converts any spaces to the “+” sign when saving the configuration, is this the script or something to do with SharePoint?
Cheers
-
September 28, 2021 at 18:17 #34613
Hi,
Not sure which field are you referring to – add a screenshot if possible.Alexander
-
September 28, 2021 at 18:35 #34615
I will add a screenshot tomorrow but it is all fields in the table chart, when you add a field any labels that have spaces get the spaces replaced with the + sign when the configuration is saved.
-
September 28, 2021 at 18:40 #34619
I tested adding labels and cannot reproduce this issue – I’m using Chrome, which browser are you using?
Alexander
Attachments:
-
September 28, 2021 at 18:45 #34622
Currently using Edge but will try it on chrome as well and let you know.
Phil
-
September 28, 2021 at 18:48 #34624
I wonder if it’s an issue with SP2019 then.
I will ask our It support. -
September 29, 2021 at 08:25 #34642
Here are a couple of screenshots showing the table header and the config page, when I remove the + from the label and use spaces the spaces are replaced by + as it’s saved.
This happens in both Edge and Chrome, I suspect that if it doesn’t do it for you then it’s probably something to do with our SP2019 instllation.
- This reply was modified 3 years, 1 month ago by Phil Grant.
Attachments:
-
September 29, 2021 at 10:44 #34647
Alexander,
I’ve had some feedback from my IT support and they said
“We think that it matters which JavaScript encode function is used before the configuration is sent to SharePoint list.
SPJS creates a “escaped” JSON which is sent to a list.
We also found a workaround, instead of using ” ” (space) – use ”I used their suggestion and it looks fine now.
-
September 29, 2021 at 15:41 #34652
I’m not able to recreate this issue on my SharePoint Online tenant so maybe it is related to an on-prem 2019.
In any case I’m glad you found a workaround.
Alexander
-
-
AuthorPosts
- You must be logged in to reply to this topic.