Is it possible to use shading/pattern fill for graph areas?

3 posts, 0 answers
  1. Equal
    Equal avatar
    2 posts
    Member since:
    Dec 2013

    Posted 17 Jul Link to this post

    Using Telerik.Reporting.Graph item with Telerik Reporting R3 2018.

    For example if we want a bar graph, where some of the bars has diagonal hatching, or a dot pattern? Setting the colour palette is easy enough but no shading?

  2. Todor
    Admin
    Todor avatar
    332 posts

    Posted 19 Jul Link to this post

    Hello Equal,

    I will suggest a workaround for the requirement. You may use the Background Image of the barSeries with an image that mimics the hatch/dot shading (e.g. a small dot in Repeat mode) and set it through conditional formatting. Here are some sample steps :
    1. Select barSeries -> Data Point -> DataPointConditionalFormatting -> click on the ellipses - the Conditional Formatting Rules wizard will pop-up
    2. Add new Rule with Filters specifying which bars will be displayed with the same background image, e.g. each Series group may have its own background/hatch
    3. Specify what background image to be used with each Series under the Style of the corresponding Filter
    4. Select barSeries -> LegendItem -> MarkConditionalFormatting -> click on the ellipses - Conditional Formatting Rules wizard will pop-up
    5. Repeat 2 and 3 for the Mark. These steps are necessary for setting the correct Legend items images for the Series.

    Check the attached screenshot for clarity.
    I have included also a sample report demonstrating the approach.

    Note that we consider the requirement as a valid feature request. You may log it in our Feedback portal so that other users can vote for it and increase its priority.

    Regards,
    Todor
    Progress Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. Equal
    Equal avatar
    2 posts
    Member since:
    Dec 2013

    Posted 20 Jul in reply to Todor Link to this post

    Thanks for your response. This requirement is low priority for us - we may log it on the feature request area later. For now the work around looks okay - a little bit more difficult to work with but it seems like we could tailor that approach to do what we need.

     

    Cheers,

    David McKenzie

    Equal Assurance

Back to Top