Comments (5)
It is hard to find out why it is not working without seeing the output data, but I assume it has to do with the calculation of the start and end times or some other differences in the format.
Does the output match the WaterfallDocs
interface?
from perfcascade.
The output ( svg element ) of live demo matches with my above output ( I have given same data ) .
Svg element of live demo and my chart are same .
is there is any problem with css ??
i need to import any additional css ?
from perfcascade.
Sorry, I did not meant the structure of the SVG, but the JSON object that is passed to the PerfCascade
constructor (e.g. here).
But right, there is also the perf-cascade.css
CSS file.
from perfcascade.
Data is available before passing it to PerfCascade constructor.
I have copied css from "perf-cascade.css " and pasted in my component but still it didn't work .
The data before passing to PerfCascade constructor :
{
docIsTLS:true,
durationMs:11929,
entries:[
{
end:2388,
responseDetails:{
icon:{
…
},
indicators:Array(2),
requestType:"html",
rowClass:"row-item",
statusCode:200
} segments:(4) [
{
end:1652,
start:966,
total:686,
type:"connect"
},
{
end:1727,
start:1652,
total:75,
type:"send"
},
{
end:1953,
start:1727,
total:226,
type:"wait"
},
{
end:2386,
start:1953,
total:433,
type:"receive"
}
],
start:966,
tabs:[
{
content:"
Errors
↵- ↵ <d…r/Status Code↵
- 200 OK ↵
- Method ↵
- GET</…ll Request Headers↵
- ↵ ↵
tabClass:"",
title:"Request"
},
{
content:"- ↵ ↵
- Status ↵
- 200 O…l Response Headers↵
- ↵ ↵
tabClass:"",
title:"Response"
},
{
content:"↵ - Total ↵
- 1422…"receive">Receive↵
- 433 ms ↵ ",
tabClass:"",
title:"Timings"
},
{
renderContent:ƒ,
tabClass:"raw-data",
title:"Raw Data"
}
],
total:1422,
url:"https://www.google.com/"
}
],
marks:[],
title:"googleHomePage"
}
- ",
tabClass:"",
title:"General"
},
{
content:"
- ↵ ↵
from perfcascade.
Thanks for your support. I got waterfall chart by passing json data.
from perfcascade.
Related Issues (20)
- foreignObject rendering bug HOT 1
- Chrome generates broken HAR HOT 6
- Need more detail on how to render other formats in perfCascade HOT 1
- How to add perf-cascade to html in angular HOT 1
- can we use this package in nodejs ?? HOT 1
- I need to pass Json data instead of har file in Perf-cascade HOT 1
- Better way of showing HTML/text HOT 1
- Error in uploading zip files HOT 2
- Added Json Format
- Example uses deprecated 'leftColumnWith' HOT 1
- Copy response content to clipboard? HOT 3
- white area blocks some fields HOT 4
- start of the waterfall is "missing" a block HOT 2
- Responses with HTTP status code of 0 not highlighted HOT 2
- Marker is rendered outside of view HOT 3
- Last release broken for some HARs HOT 4
- x-axis value disappearing in waterfall model representation of page load HOT 5
- Content encoded with BASE64
- Prefix option for CSS classes
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 perfcascade.