The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

export of flash charts from rapid analytics using direct link

mattfieldmattfield Member Posts: 1 Learner III
edited September 2019 in Help
I am trying to export flash charts as a service from rapid analytics.
I am in "edit service" and when I select output format to be "flash chart" and run "test" a graph appears as I expect.
I can also embed the graph successfully onto another page.using embeddable html code.
However when I follow the direct link to my service, I get the message:" XML badly formed..."
The data seems to be exported using { bracket instead of < bracket . Is this the problem?

Thankyou for your help.

The complete message is as follows:
Error de lectura XML: mal formado
Ubicación: http://julimatt-pc:8080/RA/process/sensorreadlast20?
Número de línea 1, columna 1:{"title":{"text":"sensor data","style":"{font-size: 16px; font-family: sans-serif; font-weight: bold; color: #000000; text-align: center;}"},"elements":[{"colour":"DED91A","text":"readingID","values":[4368,4367,4366,4365,4364,4363,4362,4361,4360,4359,4358,4357,4356,4355,4354,4353,4352,4351,4350,4349],"on-show":{"cascade":0.5,"delay":0.5,"type":"pop-up"},"dot-style":{"on-click":"_ra_ofc_on_click","tip":"#x_label# : #val#"},"font-size":"12","alpha":"0.8","type":"line"},{"colour":"DB8A2F","text":"sensorID","values":[567,567,567,567,567,567,567,567,567,567,567,567,567,567,567,567,567,567,567,567],"on-show":{"cascade":0.5,"delay":0.5,"type":"pop-up"},"dot-style":{"on-click":"_ra_ofc_on_click","tip":"#x_label# : #val#"},"font-size":"12","alpha":"0.8","type":"line"},{"colour":"D91A15","text":"time","values":[30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30],"on-show":{"cascade":0.5,"delay":0.5,"type":"pop-up"},"dot-style":{"on-click":"_ra_ofc_on_click","tip":"#x_label# : #val#"},"font-size":"12","alpha":"0.8","type":"line"}],"x_axis":{"colour":"#000000","grid-colour":"#D7E4A3","stroke":"2","labels":{"colour":"#000000","visible-steps":"1","rotate":"0","labels":["4368.0","4367.0","4366.0","4365.0","4364.0","4363.0","4362.0","4361.0","4360.0","4359.0","4358.0","4357.0","4356.0","4355.0","4354.0","4353.0","4352.0","4351.0","4350.0","4349.0"],"steps":"1","size":"10"},"tick-height":"5","steps":"2.0"},"y_axis":{"min":"30","colour":"#000000","grid-colour":"#D7E4A3","stroke":"2","max":"5000","rotate":"horizontal","labels":{"text":"#val#"},"tick-length":"5","steps":"1000"},"x_legend":{"text":"","style":"{font-size: 12px; font-family: sans-serif; font-weight: bold; color: #777777; text-align: center;}"},"y_legend":{"text":"","style":"{font-size: 12px; font-family: sans-serif; font-weight: bold; color: #777777; text-align: center;}"},"bg_colour":"#FFFFFF","tooltip":{"colour":"#55AAAA","body":"{font-size: 12px; font-family: Times New Roman; font-weight: none; color: #000000;}","stroke":"2","title":"{font-size: 14px; font-family: Arial; font-weight: none; color: #778877;}","background":"#FFFFFF"},"chart_id":"sensorreadlast20","is_decimal_separator_comma":true,"is_thousand_separator_disabled":"false","no_data_warning":"No data!"}
^



Answers

Sign In or Register to comment.