Comments (6)
OK, yah not entirely sure myself, have commented on the original pull hopefullyt he author can help
from graphite-graph-dsl.
Have pushed 0.0.5 that uses CGI.escape instead of URI.encode and it seems good now
from graphite-graph-dsl.
Unfortunately that led to too much being escaped. I end up with image URLs like: /render/?title%3DBilling%26vtitle%3DBilling
which result in No Data images. It seems like just the value parts of the key/value pairs should be escaped. This got all my graphs working again:
url_str = url_parts.map { |pair| k,v = pair.split('='); "#{k}=#{CGI.escape(v)}" }.join("&")
properties[:placeholders].each { |k,v| url_str.gsub!("%{#{k}}", v.to_s) } if properties[:placeholders].is_a?(Hash)
url_str
from graphite-graph-dsl.
Ah yeah indeed, you would just escape the values.
Don't code before coffee :)
Will do another release soon
from graphite-graph-dsl.
OK, I did 0.0.6, lets see how that one goes :)
from graphite-graph-dsl.
Yup, worked great after bumping gdash up to the 0.0.6. Thanks.
from graphite-graph-dsl.
Related Issues (13)
- give possibility to use substr() instead of alias() for some fields
- graph_columns HOT 5
- specify output format HOT 3
- Allow setting colorList / template on a graph HOT 1
- nesting subdirectories under template dir doesn't work HOT 2
- Add support for exclude function HOT 3
- alias_by_node and alias_sub should not be mutually exclusive HOT 1
- Issue when displaying a mix of Stacked and Line Graph
- Version bump HOT 1
- Add support for summarize and nonNegativeDerivative HOT 1
- Update graphite-graph-dsl on rubygems.rg HOT 4
- Don't want to be forced to specify field name HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from graphite-graph-dsl.