webdetails / ccc Goto Github PK
View Code? Open in Web Editor NEWCommunity Chart Components
License: Mozilla Public License 2.0
Community Chart Components
License: Mozilla Public License 2.0
change pvcTest.html on line 583 (stacked barline test) so it says
secondAxisIndependentScale=false
then the line doesnt draw at all.
put it true and it does. Weird.
I'm trying to draw a line at a specific point on the chart, and therefore i need the first and second axis to have the same scale.
I would like to change the charts colors to use gradients instead of plain color. Is that possible?
I'm getting "[pvChart ERROR]: Non-unique dimension list" even though I have specified both crosstabMode and seriesInRows as false. My resultset looks like this:
[
"2012-09-29-23",
"php15-dfw",
102.46991404011462
],
[
"2012-09-29-23",
"php16-dfw",
103.58209806157355
],
[
"2012-09-29-23",
"php17-dfw",
107.84813753581662
],
[
"2012-09-29-23",
"php18-dfw",
105.6217912150599
],
[
"2012-09-29-23",
"php19-dfw",
129.61402508551882
],
The thought is that the first column would be the category, the second column would be the series, and the third column would be the value.
jqPlot handles pie charts with multiple series in the form of concentric donuts.
pvcPieChart only takes first serie into account.
I don't want to use the multicharts approach (at least until merged into master branch).
If anyone can give me a clue, I could make a small contribution...
Hi,
Is there a way to alter the heat grid cell color based on the value of the cell? I was trying to use a renderCallback
, but I believe that this needs to occur after the data has been set.
Can anyone assist?
Charts don't render on IE8 even with svgweb: http://i.imgur.com/6cia4.png
Needs to be downloaded, might be good to include it since it's in both test files
After reading the stephen few book about dashboard design, a good idea in that book was to use a horizontal bar chart, with decent labels on the y axis. Then you dont need a legend and it's very quick and easy to look at.
but unfortunately labels such as "dan woz ere" are too long for what is expected as an axis label and so they overwrite the bar and look messy. Also they seem to be centre aligned, and there's no control over it from what i can see in CDE...
Hope this feedback is useful.
See image:
happens whether the bar is horizontal or vertical.
None of the options seem to control this?
Hi, our dashboard displays on a large screen tv so we need a bigger font for the legend.
just changing the code to set the font for the legend panel doesnt work perfectly because the calculations that work out where to locate the legend items dont take the increased fontsize into account.
At http://ccc.webdetails.org/?q=content/charts-linechart some options for x and y axis titles are mentioned but when using CDE I don't find them.
{x,y}AxisTitle - The axis title text. Default: null
{x,y}AxisTitleFont - The axis title font. Default: '10px sans-serif'
{x,y}AxisTitleSize - The size of the axis title. The size is the width when the axis is vertical and the height when it is horizontal. The title consumes space from the specified {x|y}AxisSize. Default: The required by the font height plus a proportional margin.
The problem was mentioned in a forum post (http://forums.pentaho.com/showthread.php?86330-Adding-x-and-y-axis-titles-to-ccc-chart-component) and somewhere a bug had been filed in September 2011 but I couldn't find any existing ticket. Pedro Alves acknowledged the problem still existed in April 2012.
Horizontal stacked bar charts would be useful, e.g.
var bar3 = new pvc.BarChart({
canvas: "pvcBar3",
width: 400,
height: 250,
title: "Stacked Horizontal Bar Chart",
orientation: 'horizontal',
stacked: true,
legend:true,
});
bar3.setData(relational_01,
{crosstabMode: false,
seriesInRows: false});
bar3.render();
If you have a timeseries chart, where the series format is to the hour or minute, and only display a day of data, then you only see a label at the start showing the date 28/1 and nothing else.
Can timeseries axis be updated so that if the data is only a day or so it can display time to the hour or something.
If your data set has a null in it, the charts dont draw and you get javascript errors
Bug really. Most charting engines simply stop drawing at null and resume once the numbers restart. Note: They dont draw a line down to zero!
Of course in the usual case with MDX perhaps nulls are less common, but with CDA promoting different data sources they are more likely
Pie chart doesn't work if category is null and it doesn't throw any exception either. I'm using Pentaho 3.10 and CDE 1.0RC3
We're running the very latest build (using the ctools-install script) and the charts don't render in IE 7 or 8 because of the following error:
Expected identifier CDF.js?v=ccc3b5c6cee5e42de2623b77fa3392a1, line 1033 character 1151
CDF: Object type cccBarChart can't be mapped to a valid class
CDF: Object type cccStackedAreaChart can't be mapped to a valid class
LOG: Forcing Flash SVG viewer for this browser
However, if we use &debug=true then they render fine. I think the problem is likely that the minified version of CDF.js is busted.
I have a budget variance line chart which shows a simple line of the daily difference between the forecast and the actual values. It goes up and down above and below zero.
It would be nice, if the grid line displayed at zero could be highlighted as the baseline for this type of chart.
I had a nosy around, perhaps something funky with the strokeStyle on line 1425 of pvc*.js where it draws the grid?
When using the stack chart like "pvc.StackedLineChart", the values are not plotting correctly. It seems that the values are added over to the corresponding previous series values. Eventhough, I am going through the code, just to let you know the issue.
Input data: http://pastebin.com/emP6p6yf
Console errors: http://pastebin.com/FXDZkxEh
Not sure if there is a way around this on your end or not. If not, we may have to create unique names for each category somehow.
Not sure where this is getting called from:
/content/pentaho-cdf/resources/style/images/busy.gif
Originally posted by @Denisjuke in Denisjuke/Next.js#1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.