Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

intchartUrl: forward parameters in url #268

Open
pmbert opened this issue Feb 11, 2019 · 6 comments
Open

intchartUrl: forward parameters in url #268

pmbert opened this issue Feb 11, 2019 · 6 comments

Comments

@pmbert
Copy link

pmbert commented Feb 11, 2019

The intchart widget doesn't forward parameters, even if set in intchartUrl.
Example:
"intchartUrl": "......../index.html?param1=aaaa&param2=bbbb"
In index.html no parameters are received.

Background: I'm using this widget to display charts from different source than IntChart.com. But this needs parameters which are not forwarded.
Can you please change this?

@VD17593
Copy link

VD17593 commented Feb 11, 2019

I'm not sure what you are asking.

Have you opened an account on Intchart.
Have you started a subscription.

As for the syntax of the url it should be like described on :
descrption

@pmbert
Copy link
Author

pmbert commented Feb 11, 2019

I do not want to use IntChart.com.
I want to display charts from different source.

With an own written module I inserted the url address from this other source into metrics: intchartUrl:
"intchartUrl": "......../index.html?param1=aaaa&param2=bbbb"

The webpage index.html is called and the graphic is shown in the modale window. But the parameters '?param1=aaaa&param2=bbbb' are not transferred to index.html.

I think there's no reason to restrict this functionality only to IntChart.com. You can allow to use also others. But if they need parameters, it doesn't work.

@VD17593
Copy link

VD17593 commented Feb 11, 2019

The way it should be used is as described on the website.

You should be able perfectly to display the chart in an other place than on intchart.com.
But the chart will always been shown on intchart.com too.

You should also be able to adapt the chart layout at you wishes, as described on the website.

To insert the chart anywhere else than on Intchart.com, you can use this synthax :
... '/chart?file=Chart_01.txt&width=1000&smooth=1'

Where Chart_01.txt is the name of the file shown on intchart.com.
With these parameters the chart will be shown at your place with the parameters width and smooth adapted.

Normally everything should work smoothely with no adaptions needed on Intchart.

Hope this helps.

@pmbert
Copy link
Author

pmbert commented Feb 11, 2019

No it does not help.
You didn't understand.
I do NOT use IntChart.com. I do NOT have an account on IntChart.com.

I only want to use the zway widget to display anything else in the modale window , which has nothing to do with IntChart.com charts.

I hope that I have now made myself understood.

@VD17593
Copy link

VD17593 commented Feb 11, 2019

Well, in this case I can not help you.

@pmbert
Copy link
Author

pmbert commented Feb 11, 2019

Why not.
Is it a big thing to forward the whole url from metrics:intchartUrl including the parameters given there?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants