Hitachi Vantara Pentaho Community Forums

Search Forums:

Type: Posts; User: duarte.leao; Keyword(s):

Page 1 of 13 1 2 3 4

Search Forums: Search took 0.03 seconds.

  1. Replies
    3
    Views
    975

    Hi, it is possible. You need to leave...

    Hi,

    it is possible.

    You need to leave enough white space between categories for it to work.

    Essentially, you need to specify the bar_width extension point.
    Then, because this messes the...
  2. What happened to the CCC site and to my JS Fiddles?

    Hi community,

    In case you've noticed, the CCC site isn't at its old location and, also, existing JS Fiddles have stopped working :-(

    We've recently moved the CTools sites to...
  3. Hi, if you're referring to this article:...

    Hi,

    if you're referring to this article: http://forums.pentaho.com/showthread.php?142191-How-to-toggle-visibility-of-a-legend-item-on-a-chart-when-chart-is-first-loaded&p=340575#post340575,
    it...
  4. Just a small modification, so that data is not...

    Just a small modification, so that data is not reloaded and the chart renders faster.

    Place the following in preExecution:



    function f() {

    var me = this;
  5. Hi, sorry, but there's no way to specify a...

    Hi,

    sorry, but there's no way to specify a different orthoAxisTickFormatter for each small-chart.

    Perhaps the only solution is to have three separate charts :-(
  6. The extension points of the second plot all have...

    The extension points of the second plot all have the prefix "plot2", so you're looking for "plot2Line_strokeStyle" and, possibly, "plot2Dot_fillStyle" and "plot2Dot_strokeStyle".
    Check out CCC...
  7. Hi whitegoose, I'm not sure I understand your...

    Hi whitegoose,

    I'm not sure I understand your question, so here's my attempt. The clickAction handlers do not receive the event object as argument. They instead receive a scene object. They are...
  8. Thanks for the clarifications!

    Thanks for the clarifications!
  9. Replies
    1
    Views
    826

    That padding is a characteristic of categorical...

    That padding is a characteristic of categorical charts. What you probably want is a time series chart. Specify timeSeries: true (and a proper timeSeriesFormat).
  10. To change the value label font style, something...

    To change the value label font style, something like: label_font: "9px sans-serif"
    To format the tooltip: "FAQ > Tooltip > Styling the standard data summary tooltip".
    To add additional dimensions...
  11. First, make the additional data available as a...

    First, make the additional data available as a CCC dimension, by reading it from the data source.
    Then, either the default tooltip — that displays all dimensions' values — is acceptable, or you need...
  12. Replies
    1
    Views
    1,448

    In preExecution: function f() { ...

    In preExecution:


    function f() {

    this.chartDefinition.title = this.dashboard.getParam("ParameterName");

    }
  13. Use plotSizeMin...

    Use plotSizeMin to force a minimum plot area.
    Use legendSizeMax, legendItemCountMax and legendOverflow to prevent the legend from growing indefinitely.
  14. The whole chart area: base_fillStyle: 'white'...

    The whole chart area: base_fillStyle: 'white'
    The content area (includes plot + axes): content_fillStyle: 'white'
    The plot area: plot_fillStyle: 'white'
  15. Replies
    1
    Views
    762

    See "FAQ...

    See "FAQ > Tooltip > Styling the standard data summary tooltip".
  16. What part of your data is unsorted? To...

    What part of your data is unsorted?

    To explicitly sort the default, categorical CCC dimensions you do it like this, in preExecution:


    function f() {
    $.extend(this.chartDefinition, {
    ...
  17. So, your question seems to be how to map the...

    So, your question seems to be how to map the dataset into the correct dimensions and visual roles.
    Try:

    readers: "category, category2, value".

    In what concerns using the composite/hierarchical...
  18. Replies
    1
    Views
    953

    Yes: line_strokeStyle: function(scene) { ...

    Yes:


    line_strokeStyle: function(scene) {
    return scene.getValue() < 0 ? 'red' : this.delegate(); // default color when non-negative.
    }
  19. Thread: line chart

    by duarte.leao
    Replies
    1
    Views
    705

    For the first question, see "FAQ...

    For the first question, see "FAQ > Charts > Shared > Variable series styling".
    For the second question, set valuesVisible: true and then, via the extension point label_visible, hide all but the last...
  20. Sticky: FAQ part III

    10. Charts


    Bar

    Styling bars: A
    Changing bar colors dynamically: A, B, C
    3-D style: see "Axes > Gradient Colors"
    Simultaneously Stacked & Grouped: A
  21. Sticky: FAQ part II

    6. Data source translation


    Relational vs Crosstab formats: A, B (page 19), C
    What's the expected data format? .....
    Virtual item structure: A, B, C, D, E
    Many ways to specify "readers":...
  22. You should instead do: // Use the ones you...

    You should instead do:


    // Use the ones you need
    var pvc = require("cdf/lib/CCC/pvc");
    var pv = require("cdf/lib/CCC/protovis");
    var def = require("cdf/lib/CCC/def");
  23. Replies
    1
    Views
    1,198

    Hi, the heat-grid's color scale is continuous...

    Hi,

    the heat-grid's color scale is continuous and CCC does not currently support continuous color legends.
    However, it is always possible, but not trivial, to create one using protovis.
  24. Replies
    1
    Views
    714

    It depends on how you've setup the chart's data...

    It depends on how you've setup the chart's data source options.

    Try these options, in preExecution:


    function f() {
    $.extend(this.chartDefinition, {
    crosstabMode: false,
    ...
  25. Replies
    2
    Views
    1,238

    Suppose that the movie name is being read into a...

    Suppose that the movie name is being read into a CCC dimension named "movieName". Then you can specify valuesMask: "{#movieName}". The "#" modifier means read movieName from the scene.atoms...
  26. Hi, What do those rects represent? Bars of a...

    Hi,

    What do those rects represent? Bars of a bar chart?
    Does this only happen when you have orthoAxisFixedMin?
    Note that even when using orthoAxisFixedMin, bars are still drawn from the 0 value...
  27. Hi, you can disable selection only in "the...

    Hi,

    you can disable selection only in "the curve" by using the imask and ibits extension points for the dot, line and area marks. In preExecution:


    function() {
    ...
  28. See "FAQ...

    See "FAQ > Real time".
  29. See "FAQ...

    See "FAQ > Real time".
  30. Thread: Real-time?

    by duarte.leao
    Replies
    12
    Views
    2,946

    CCC now comes with some real-time support, like a...

    CCC now comes with some real-time support, like a data sliding window, incremental data loading and stable layout across renders.

    However, CDF's CCC component does not yet integrate with this...
  31. Your other post:...

    Your other post: http://forums.pentaho.com/showthread.php?207375-CCC-Line-chart-doesn-t-get-new-data-after-refreshing&highlight=real+time
  32. Replies
    3
    Views
    1,257

    I don't understand the problem with the original...

    I don't understand the problem with the original definition, nor how it would result in the attached image.
    I suppose you have crosstabMode: false, so that you actually get two measure dimensions...
  33. Replies
    5
    Views
    2,687

    Hi, Did you try changing the color to...

    Hi,

    Did you try changing the color to transparent? ( plot2Dot_strokeStyle: null )

    I've created a FAQ section related with this issue: "FAQ > Value Labels > Placement options and total labels".
  34. There are several ways to place the value labels...

    There are several ways to place the value labels of bars. Examples:



    total value in vertical stacked bar, placed at fixed position near the plot frame: http://jsfiddle.net/duarteleao/e2Qfd/
    ...
  35. Hi, see "FAQ...

    Hi,

    see "FAQ > Charts > Variable series styling".
  36. Hi, I've recently answered this in another...

    Hi,

    I've recently answered this in another thread: http://forums.pentaho.com/showthread.php?211535-Select-one-chart-from-the-other.
  37. Replies
    1
    Views
    982

    Hi, this is a bug, so please create an issue...

    Hi,

    this is a bug, so please create an issue for it in jira.pentaho.com/browse/CDF
    (using a title like "CCC - Treemap - Root legend item hides but then disables showing again")

    The only...
  38. Replies
    1
    Views
    1,112

    Hi, presently, there's no stock Radar/Spider...

    Hi,

    presently, there's no stock Radar/Spider chart in CTools.
    You can write one using the ProtovisComponent and the code in this thread as base. You may also give the D3 component library a try.
  39. Replies
    1
    Views
    1,112

    Hi Leandro, yes. There are two methods: ...

    Hi Leandro,

    yes. There are two methods:

    Dynamic dot_visible extension point

    Set the dotsVisible option to true, but then conditionally hide it using the dot_visible extension point.

    For...
  40. Hi, the fiddle you showed uses a feature that...

    Hi,

    the fiddle you showed uses a feature that was recently added to CCC (being able to pass an options object to the Chart#render method).
    However, the public CCC scripts we use for fiddle...
  41. I gave you a pointer to a specific FAQ section:...

    I gave you a pointer to a specific FAQ section: "FAQ > Interaction > Handle the click action".
    Anyway, within a clickAction function, you can access the event as this.event:


    function() {
    ...
  42. In what the chart is concerned, there is no CSS...

    In what the chart is concerned, there is no CSS or direct jQuery involved.
    It has a custom tooltip implemented with tooltipFormat.
    It has a single horizontal grid-line, aligned with the last tick...
  43. Replies
    1
    Views
    990

    This fiddle shows something like what you want:...

    This fiddle shows something like what you want: http://jsfiddle.net/duarteleao/Wpk46/.
    The difference is that only one of the charts is directly selectable by the user.

    EDIT: I found the time to...
  44. Hi, by your description, the color axes was set...

    Hi, by your description, the color axes was set up as continuous. The colorMap option only applies to discrete color axes (and this is not the same as the colorScaleType option you specified).
    For...
  45. Replies
    1
    Views
    1,102

    This can be done by overriding code that gets...

    This can be done by overriding code that gets executed when you click a legend item.
    See also "FAQ > Interaction > Synced series visibility of multiple charts ..."

    Specify the following in...
  46. Replies
    1
    Views
    617

    There is no option to show tooltips or labels...

    There is no option to show tooltips or labels with detailed category/value as you want.
    You can do a custom tooltip and show the detailed category/value pairs like you show.
    You can use a sunburst...
  47. Replies
    2
    Views
    746

    Do you want to preserve the year in the series,...

    Do you want to preserve the year in the series, having series be "Example A ~ 2015", "Example B ~ 2016", "Example B ~ 2017" ?

    Then, I imagine that you want some kind of regularity in the X scale,...
  48. Hi, you must specify label_text, determine the...

    Hi, you must specify label_text, determine the total value and format it, like it is done in this fiddle: http://jsfiddle.net/duarteleao/0xvteacj/ .
    Note that the sum in the example is the sum of...
  49. Replies
    1
    Views
    704

    Is this what you're looking for:...

    Is this what you're looking for: http://jsfiddle.net/duarteleao/katedtoL/ or, if you don't need the axis title panel for anything else, this other: http://jsfiddle.net/duarteleao/pvsc89fm/ ?
  50. Is this what you're looking for:...

    Is this what you're looking for: http://jsfiddle.net/duarteleao/e2Qfd/ ?
Results 1 to 50 of 647
Page 1 of 13 1 2 3 4
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.